$OpenBSD: patch-src_ptclib_pssl_cxx,v 1.3 2015/07/18 21:54:04 sthen Exp $
--- src/ptclib/pssl.cxx.orig	Sat Jul 18 15:51:09 2015
+++ src/ptclib/pssl.cxx	Sat Jul 18 15:53:02 2015
@@ -1189,9 +1189,12 @@ void PSSLContext::Construct(Method method, const void 
   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;
