On Wed, Mar 07, 2001 at 11:19:28AM -0000, Toby Shepheard wrote:
> Small update:
>
> I got the proper error response working now (it was getting a bit late
> yesterday, my brain obviously wasn't in top gear!), and it is as follows:
>
> error:140840FF:SSL routines:SSL3_CONNECT:unknown state
>
> Does this help anyone or provide any further indications of the problem?
> What could cause an unknown state?
Your problem shows, that the SSL object is not correctly initialized.
* I assume, that we are talking about a recent version of OpenSSL.
(Old versions (before 0.9.3?) required SSL_set_connect_state() before
SSL_connect().)
* You want to perform a SSL_connect() with SSLv3 only (indicated by
SSL3_CONNECT).
* You have initialized the SSL_CTX with a SSLv3_client_method (or a
generic SSLv3_method) or a SSLv23 method with SSL_OP_NO_* options
set.
* You are not reusing an old SSL object that was already used once and
not cleared with SSL_clear()?
Please check out all of these points first.
Best regards,
Lutz
--
Lutz Jaenicke [EMAIL PROTECTED]
BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]