Hello, > > I am trying a simple SSL server-client code. > > I have started server in SSLv3 mode and client in SSLv23 mode. > > While at the time of SSL_accept, I am getting the following error. > > 22448:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version > number:s3_pkt.c:299 That is true, if server is run in SSL3 mode then not understand SSL2 client_hello, but check newest version of OpenSSL - there was some improvements with this type of handshake.
> If I start my server in SSLv23 and client also in SSLv23 mode, it is > working fine. > > I have debugged the application and found that version is not 3. Yes, in SSL23 mode client sends SSL2 client_hello packet with TLS1 proposition. Best regards, -- Marek Marcola <[EMAIL PROTECTED]> ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]