summaryrefslogtreecommitdiff
path: root/mail/emailrelay/files/patch-src_gssl_gssl__openssl.cpp
blob: 3f3bdf3a94ebebb0650530a2aa40e4580af9f616 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/gssl/gssl_openssl.cpp.orig	2013-12-07 22:55:47 UTC
+++ src/gssl/gssl_openssl.cpp
@@ -292,8 +292,10 @@ GSsl::Context::Context( const std::strin
 {
 	if( (flags&3U) == 2U )
 		m_ssl_ctx = SSL_CTX_new(SSLv23_method()) ;
+#ifndef OPENSSL_NO_SSL3
 	else if( (flags&3U) == 3U )
 		m_ssl_ctx = SSL_CTX_new(SSLv3_method()) ;
+#endif
 	else
 		m_ssl_ctx = SSL_CTX_new(TLSv1_method()) ;