On Thu, Jan 12, 2006, Emmanuel Lepavec wrote:

> Actually, I'm using libcrypto programmatically so I know for sure that
> RSA_private_encrypt() returned -1 when not passing 'e' to the RSA
> structure. (note that I set the other fields using simple assign as done
> in the sample C test file included with source distribution).
> 

Well that's odd: I set the rsa->e field to NULL in the rsautl utility and it
worked just fine with the -sign operation.

Did you check the error it returned?

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to