Difference between PEM_read_PrivateKey() and PEM_read_bio_PrivateKey() ?

2002-06-19 Thread Sascha Breite
Hi, Does anyone know if there is a difference between PEM_read_PrivateKey() and PEM_read_bio_PrivateKey() function? I tried the following: char *keyfile = "key.pem"; char *password = ""; BIO *bio; bio = BIO_new( BIO_s_file() ); BIO_read_filename( bio,

Re: [openssl.org #86] Bug in RSA_check_key

2002-06-19 Thread Giudicelli Frédéric via RT
The problem is that the use oF engines should be totaly transparent to the higher API, but apparently it's not. I don't call RSA_check_key for a hardware key, I call it for my CA private key, and I don't know if it's a hardware or software key since it's transparent. I'm supposed to be able to ca