It seems that the RSA_verify function does not support the NID_ripemd160
hashing algorithm.

If I hash data with ripemd160, sign it and try to verify it, the verify
function returns 0 (error).
Trying to debug I've seen that the ripemd160 algorithm is not checked, and
the Verify code tales the branch

RSAerr(RSA_F_RSA_VERIFY, RSA_R_ALGORITHM_MISMATCH);

Any hint?

--------------------------------------------------------------------------
Marco Donati
Context Security -  Software
P.zza Liberazione, 25 - 20013 Magenta (MI)
Phone: ++39-02-97291291,         Fax: ++39-02-97298225
E-Mail: [EMAIL PROTECTED],   Web site:http://www.csg.it
--------------------------------------------------------------------------


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to