[PATCH] OpenSSL openssl_sign() patch

php.internals

scott

23 years ago
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

Derick Rethans

23 years ago
On Sun, 30 Mar 2003, scott wrote:
> 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.
Looks fine, but can you please post the whole patch (including headers) and in 'Unified diff format' (add -u to 'cvs diff')? regards, Derick
-- "my other box is your windows PC" ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ PHP Magazine - PHP Magazine for Professionals http://php-mag.net/ -------------------------------------------------------------------------

scott

23 years ago
Here's the corrected patch. Scott. On Sun, 30 Mar 2003, Derick Rethans wrote:

Derick Rethans

23 years ago
On Sun, 30 Mar 2003, scott wrote:
> Here's the corrected patch.
I committed it after some minor layout changes. Derick
-- "my other box is your windows PC" ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ PHP Magazine - PHP Magazine for Professionals http://php-mag.net/ -------------------------------------------------------------------------