On Sun, Sep 22, 2002, Stephan Schulze wrote: > I also found errors using PEM_read_ RSAPrivateKey(FILE *fp,...) OR >PEM_read_bio_RSAPrivateKey(BIO *bio,...) when the bio points to a file. > > My solution was to read the private-key file into a memory buffer with fread(). > (This means that the file is not protected with a password) > > Associate a bio with this memory buffer: > bio = BIO_new(bio_s_mem()) > > Using the PEM_read_bio_RSAPrivateKey() now works for some reason. > > Is do not know what causes this problem under windows. >
See if the FAQ helps... Steve. -- Dr. Stephen Henson [EMAIL PROTECTED] OpenSSL Project http://www.openssl.org/~steve/ ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
