This is the first call in the engine and the set of n and e doesn't raise any error (I've just tested it). The error occurs on RSA_public_decrypt.
Frank Wockenfuß -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von David Schwartz Gesendet: Mittwoch, 1. August 2007 12:18 An: openssl-users@openssl.org Betreff: RE: RSA_public_decrypt problem > > You're right, I get RSA_R_BAD_E_VALUE (101). Just took the wrong > > define for the mail. ERR_GET_REASON returns 101. > Only the RSA key generation function can produce this error. > Perhaps you had it left over from a previous function you called? > Perhaps your engine can generate this error in response to other commands? Confirm that this isn't the issue. Make sure that ERR_GET_REASON does not return 101 prior to your call to RSA_public_decrypt. DS ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]