[openssl.org #833] PEM_read_bio_PrivateKey unencrypted read bug

2004-02-27 Thread Stephen Henson via RT
[levitte - Thu Feb 26 23:09:56 2004]: About the header file problem, I'd be thankful if you sent another message about that, and included a compilation log so we can see exactly what goes wrong. On a side note: I noticed that if you don't #include windows.h and #include

Re: [openssl.org #833] PEM_read_bio_PrivateKey unencrypted read bug

2004-02-27 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Fri, 27 Feb 2004 14:09:07 +0100 (MET), Stephen Henson via RT [EMAIL PROTECTED] said: rt The workaround we use is to #undef these first in the relevant header rt file but as the OP reports this only works if you #include windows.h rt (which includes wincrypt.h)

Re: [openssl.org #833] PEM_read_bio_PrivateKey unencrypted read bug

2004-02-27 Thread Richard Levitte - VMS Whacker via RT
In message [EMAIL PROTECTED] on Fri, 27 Feb 2004 14:09:07 +0100 (MET), Stephen Henson via RT [EMAIL PROTECTED] said: rt The workaround we use is to #undef these first in the relevant header rt file but as the OP reports this only works if you #include windows.h rt (which includes wincrypt.h)

Re: [openssl.org #833] PEM_read_bio_PrivateKey unencrypted read bug

2004-02-27 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Fri, 27 Feb 2004 15:32:26 +0100 (MET), Stephen Henson via RT [EMAIL PROTECTED] said: rt If windows.h is not included first then the #undef X509_NAME has no rt effect but the structure still gets defined. When windows.h is included rt X509_NAME gets #defined to

Re: [openssl.org #833] PEM_read_bio_PrivateKey unencrypted read bug

2004-02-27 Thread Richard Levitte - VMS Whacker via RT
In message [EMAIL PROTECTED] on Fri, 27 Feb 2004 15:42:51 +0100 (CET), Richard Levitte - VMS Whacker [EMAIL PROTECTED] said: levitte In message [EMAIL PROTECTED] on Fri, 27 Feb 2004 15:32:26 +0100 (MET), Stephen Henson via RT [EMAIL PROTECTED] said: levitte levitte rt If windows.h is not

[openssl.org #833] PEM_read_bio_PrivateKey unencrypted read bug

2004-02-27 Thread Stephen Henson via RT
[EMAIL PROTECTED] - Fri Feb 27 15:44:58 2004]: In message [EMAIL PROTECTED] on Fri, 27 Feb 2004 15:42:51 +0100 (CET), Richard Levitte - VMS Whacker [EMAIL PROTECTED] said: levitte In message [EMAIL PROTECTED] on Fri, 27 Feb 2004 15:32:26 +0100 (MET), Stephen Henson via RT [EMAIL

[openssl.org #833] PEM_read_bio_PrivateKey unencrypted read bug

2004-02-26 Thread Richard Levitte via RT
I just committed a fix for the PEM_read_bio_PrivateKey() problem. Please try tomorrow's snapshot to see if I got it right. About the header file problem, I'd be thankful if you sent another message about that, and included a compilation log so we can see exactly what goes wrong. Thanks.

[openssl.org #833] PEM_read_bio_PrivateKey unencrypted read bug

2004-02-24 Thread [EMAIL PROTECTED] via RT
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