diff options
author | Richard Levitte <levitte@openssl.org> | 2001-03-02 12:17:57 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2001-03-02 12:17:57 +0000 |
commit | 794103d28517f5f3fd97fd7d1905f5bd8e897148 (patch) | |
tree | 2a37d0839a0b54a331c8dc1741bb759084c7a496 /ssl | |
parent | c454dbcd326d7483291a81bb352e15bdcfc28c19 (diff) |
For SSLv2, return the SSLv2 method, not the SSLv23 method. This way,
it's possible to reuse an SSLv2 session.
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/s23_meth.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |