FAQ
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

Search Discussions

  • Derick Rethans at Mar 30, 2003 at 9:56 pm

    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 at Mar 30, 2003 at 10:09 pm
    Here's the corrected patch.

    Scott.
    On Sun, 30 Mar 2003, Derick Rethans wrote:
    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/
    -------------------------------------------------------------------------
  • Derick Rethans at Mar 30, 2003 at 10:30 pm

    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/
    -------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedMar 30, '03 at 9:36p
activeMar 30, '03 at 10:30p
posts4
users2
websitephp.net

2 users in discussion

Scott: 2 posts Derick Rethans: 2 posts

People

Translate

site design / logo © 2022 Grokbase