Changed hashing function to use the resource returned from open_ssl_get_privatekey() instead of string version of key
bug #493 Hash function now uses SSL resource instead of string version of key (jamesggordon)

This PR was merged into the 5.2-dev branch.

Discussion
----------

Hash function now uses SSL resource instead of string version of key

Changed hashing function to use the resource returned from open_ssl_get_privatekey() instead of the string version of key. Please note that this same change was made to DomainKeySigner.php on 9 Jan 2013.

Commits
-------

fa0ad84 Changed hashing function to use the resource returned from open_ssl_get_privatekey() instead of string version of key