Great!!! it works.
I have changed SSL_get0_session() in SSL_get1_session() and I call it
after each SSL_connect(), but this did not give a complete solution.
I have set the ctx options using
SSL_CTX_set_options(ctx,SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG)
and now it works really well.
Thanks all for your valuable advises.
Best Regards
Patrick
Lutz Jaenicke wrote:
>
>
> On Mon, Jan 22, 2001 at 10:11:23AM +0100, Patrick CHEMLA wrote:
> > On the second SSL_connect(), it stops with an error :
> > 1867:error:140920C5:SSL routines:SSL3_GET_SERVER_HELLO:old session
> > cipher not returned:s3_clnt.c:636:
>
> This question was just answered by [EMAIL PROTECTED]:
> ...
> > As a work-around: use only one cipher suite in your client, or use
> > SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG with SSL_CTX_set_options().
>
> This is also part of the OP_ALL macro of SSL_CTX_set_options(), which
> you might consider for your application.
>
> 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]
--
Patrick Chemla
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]