Files
ports/devel/ptlib/files/extra-patch-src_ptclib_pssl.cxx
2026-10-04 04:07:15 +00:00

16 lines
392 B
C++

--- 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;