hazel Gao wrote:
> 
>     2. It seems that in my program
> PEM_read_bio_RSAPrivateKey(in,NULL,NULL,NULL) can only
> deals with keyfiles without RSA pass phase protection,
> and return NULL for keyfiles that do have pass phase.
> But in apps/rsa.c, the same code can do with both!
> Bellow is the error I printed out after the function
> call:
> 21618:error:0906B072:PEM
> routines:PEM_get_EVP_CIPHER_INFO:unsupported
> encryption:pem_lib.c:454:

This is answered in the FAQ.

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.


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

Reply via email to