This is possibly because of freeing the SSL CTX object. The CTX holds
several information about the environment, ciphers and freeing it and then
creating it may not initialize the CTX correctly.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Nadav Golombick
Sent: Thursday, October 27, 2005 12:55 PM
To: [email protected]
Subject: Error 336445449 (140DC009):SSL
routines:SSL_CTX_use_certificate_chain_file:PEM lib


I am having a problem with the SSL_use_certificate_chain_file function
after calling bad file, then trying to call the same function using a
good file.
The scenarion is as follows:
First I try and use a bad file and get the error that there is no start
line.
I free the SSL_CTX object, create a new one and try and call the
function again, this time with a good file. That's when this error
appears.
If I try and call the good file for a second time, it succeeds.

My question is how do I call the good file the first time round?

--
Nadav Golombick
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to