From e436c963f0976b885a7db04681344779e26dd3b5 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Wed, 23 Apr 2014 09:56:37 +0200 Subject: Update OpenSSL to 1.0.1g and statically link OpenVPN with it --- main/openssl/ssl/s23_meth.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'main/openssl/ssl/s23_meth.c') diff --git a/main/openssl/ssl/s23_meth.c b/main/openssl/ssl/s23_meth.c index c6099efc..40eae0f0 100644 --- a/main/openssl/ssl/s23_meth.c +++ b/main/openssl/ssl/s23_meth.c @@ -76,6 +76,10 @@ 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 if (ver == TLS1_2_VERSION) + return(TLSv1_2_method()); else #endif return(NULL); -- cgit v1.2.3