summaryrefslogtreecommitdiff
path: root/devel/ptlib/files/extra-patch-src_ptclib_pssl.cxx
blob: fa5755cf6a0b2ba80a48f2a7f404eb582d2274a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/ptclib/pssl.cxx.orig	2013-02-20 02:12:00 UTC
+++ src/ptclib/pssl.cxx
@@ -805,9 +805,12 @@ void PSSLContext::Construct(Method metho
   SSL_METHOD * meth;
 
   switch (method) {
+#ifndef OPENSSL_NO_SSL3
+/* fall through to SSLv23_method if unsupported */
     case SSLv3:
       meth = SSLv3_method();
       break;
+#endif
     case TLSv1:
       meth = TLSv1_method(); 
       break;