[[EMAIL PROTECTED] - Wed Nov 20 09:21:07 2002]:

> Hi,
> 
>  When trying to use sessions under 0.9.7 beta 4 I get:
> "1424:error:140920C5:SSL routines:SSL3_GET_SERVER_HELLO:old session cipher
> not re
> turned:.\ssl\s3_clnt.c:705:"
> 
> This also seems to happen with s_server/s_client when specifying
-reconnect.

This is due to a change I recently made to s3_clnt.c. It did return
this error for external session caches.

Explanation: 
When using the "internal" session cache, s->session->cipher is set with
a pointer to the CIPHER object.

When using external caching, only the cipher_id is stored and
s->session->cipher_id is set.

The change I made was that the cipher_id was compared instead of the
pointer to the CIPHER structure. This made the external caching
work fine (which I of course tested after the change) but made
the internal cache fail (which I did not test, because I didn't expect
this side effect).

I have therefore merged your report into Ticket #288 and re-opened the
issue.
This has to be fixed before Nov 21 (tomorrow), as this also applies to
the 0.9.6-stable branch which will become 0.9.6h tomorrow!!!

Best regards,
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to