[PATCH] OpenSSL openssl_sign() patch
| From: | scott | Date: | Sun, 30 Mar 2003 21:36:13 +0000 |
| Subject: | [PATCH] OpenSSL openssl_sign() patch | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-518@lists.php.net to get a copy of this message | ||
Hi,
I've created a patch for the modification I've made to the OpenSSL
extension.
The patch modifies the openssl_sign() function to accept a fourth
parameter, which specifies the hashing algorithm to use.
I've added 4 new constants to represent the hashing algorithms:
OPENSSL_ALGO_SHA1
OPENSSL_ALGO_MD5
OPENSSL_ALGO_MD4
OPENSSL_ALGO_MD2
Thanks,
Scott
scott@planetscott.ca