return v1.1 methods for client/server

This commit is contained in:
Dr. Stephen Henson 2009-12-28 00:31:16 +00:00
parent 35b0ea4efe
commit 76774c5ea1
2 changed files with 4 additions and 0 deletions

View File

@ -129,6 +129,8 @@ static const SSL_METHOD *ssl23_get_client_method(int ver)
return(SSLv3_client_method());
else if (ver == TLS1_VERSION)
return(TLSv1_client_method());
else if (ver == TLS1_1_VERSION)
return(TLSv1_1_client_method());
else
return(NULL);
}

View File

@ -76,6 +76,8 @@ static const SSL_METHOD *ssl23_get_method(int ver)
#ifndef OPENSSL_NO_TLS1
if (ver == TLS1_VERSION)
return(TLSv1_method());
else if (ver == TLS1_1_VERSION)
return(TLSv1_1_method());
else
#endif
return(NULL);