On Wed, Nov 26, 2008, Nanavati, Sitanshu wrote: > Hello All, > > I am trying to override the RSA_sign() (with my_RSA_sign() ) and RSA_verify() > (with my_RSA_verify() ) methods thru an engine. From the app I'm invoking > RSA_sign(...) however the call still goes to OpenSSL method in rsa_sign.c. > Anything extra call required here? I am able to override RSA_encrypt and > RSA_decrypt though. I just added sign and verify to the RSA_method and was > expecting them to work. > > Any help would be appreciated. >
You need to set the flag RSA_FLAG_SIGN_VER as well in the method structure. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Homepage: http://www.drh-consultancy.demon.co.uk ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]