SSLv2 session reuse bugfix from main development branch.
This commit is contained in:
parent
1c85e93c7c
commit
3e0d891828
2 changed files with 4 additions and 1 deletions
3
CHANGES
3
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 <madwolf@opensca.org>]
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue