summaryrefslogtreecommitdiffstats
path: root/tcpd/libcouriertls.c
diff options
context:
space:
mode:
authorSam Varshavchik2015-07-31 06:35:13 -0400
committerSam Varshavchik2015-07-31 06:35:13 -0400
commite6d23dfcf40f073a1e5b267cb1333365507a9781 (patch)
tree00ee9bfb884b9b5ba85eceee4003b091c709a097 /tcpd/libcouriertls.c
parent796dc9a0b94b67f1303e1db61311f7b458e5e36a (diff)
downloadcourier-libs-e6d23dfcf40f073a1e5b267cb1333365507a9781.tar.bz2
Check if SSLv3 is available.
Diffstat (limited to 'tcpd/libcouriertls.c')
-rw-r--r--tcpd/libcouriertls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcpd/libcouriertls.c b/tcpd/libcouriertls.c
index 2fe6ed1..9252c05 100644
--- a/tcpd/libcouriertls.c
+++ b/tcpd/libcouriertls.c
@@ -74,7 +74,9 @@ struct proto_ops op_list[] =
{ "TLSv1", &TLSv1_method, SSL_OP_ALL },
{ "TLS1", &TLSv1_method, SSL_OP_ALL },
{ "SSL3+", &SSLv23_method, SSL_OP_ALL|SSL_OP_NO_SSLv2 },
+#ifdef HAVE_SSLV3_METHOD
{ "SSL3", &SSLv3_method, SSL_OP_ALL },
+#endif
{ "SSL23", &SSLv23_method, SSL_OP_ALL },
{ "", &SSLv23_method, SSL_OP_ALL|SSL_OP_NO_SSLv2|SSL_OP_NO_SSLv3 },
{ NULL, &SSLv23_method, SSL_OP_ALL|SSL_OP_NO_SSLv2|SSL_OP_NO_SSLv3 },