Type: BUG
OS: WinNT
Version: 0.97c

Brief: PEM_read_bio_PrivateKey doesn't set the EVP_PKEY pointer when
reading a unencrypted private key.

Descr: When reading an unencrypted private key with:

EVP_PKEY *key = NULL;
PEM_read_bio_PrivateKey( ..., &key, ... )

PEM_read_bio_PrivateKey enters the PEM_STRING_PKCS8INF case and returns the
key without following the semantics when passed a valid EVP_PKEY** pointer.

On a side note: I noticed that if you don't #include <windows.h> and
#include <openssl/pem.h> before <openssl/x509.h>, you get a nameclash on
X509_NAME types.

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

Reply via email to