From: Richard Levitte Date: Mon, 5 Mar 2001 14:52:30 +0000 (+0000) Subject: SSLv2 session reuse bugfix from main development branch. X-Git-Tag: OpenSSL_0_9_6a-beta1~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3e0d8918281e975d3440f8607f8b2e05b620cf80;p=oweals%2Fopenssl.git SSLv2 session reuse bugfix from main development branch. --- diff --git a/CHANGES b/CHANGES index 82a02295a4..34a07b619f 100644 --- a/CHANGES +++ b/CHANGES @@ -4,6 +4,9 @@ Changes between 0.9.6 and 0.9.6a [xx XXX 2001] + *) Make it possible to reuse SSLv2 sessions. + [Richard Levitte] + *) In copy_email() check for >= 0 as a return value for X509_NAME_get_index_by_NID() since 0 is a valid index. [Steve Henson reported by Massimiliano Pala ] diff --git a/ssl/s23_meth.c b/ssl/s23_meth.c index b52ca1d58b..40684311db 100644 --- a/ssl/s23_meth.c +++ b/ssl/s23_meth.c @@ -64,7 +64,7 @@ static SSL_METHOD *ssl23_get_method(int ver); static SSL_METHOD *ssl23_get_method(int ver) { if (ver == SSL2_VERSION) - return(SSLv23_method()); + return(SSLv2_method()); else if (ver == SSL3_VERSION) return(SSLv3_method()); else if (ver == TLS1_VERSION)