Do not resume a session if the negotiated protocol version does not match
authorDavid Benjamin <davidben@chromium.org>
Thu, 20 Nov 2014 15:22:40 +0000 (16:22 +0100)
committerEmilia Kasper <emilia@openssl.org>
Thu, 20 Nov 2014 15:31:42 +0000 (16:31 +0100)
commit7fc5f4f11782494d620a752ecfb0cb8867e80860
treeb87e1326c83fe2c62de94d2340d0cdb7a42f771f
parent249a3e362fe406f8bc05cd3e69955a34a080b2b9
Do not resume a session if the negotiated protocol version does not match
the session's version (server).

See also BoringSSL's commit bdf5e72f50e25f0e45e825c156168766d8442dde.

Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
(cherry picked from commit 9e189b9dc10786c755919e6792e923c584c918a1)
CHANGES
ssl/s3_srvr.c