Index: ptlib-wolf-2.4.5/src/ptclib/pssl.cxx
===================================================================
--- ptlib-wolf-2.4.5.orig/src/ptclib/pssl.cxx	2009-02-23 12:48:12.000000000 +1100
+++ ptlib-wolf-2.4.5/src/ptclib/pssl.cxx	2011-07-02 16:33:16.000000000 +1000
@@ -800,12 +800,9 @@
 void PSSLContext::Construct(Method method, const void * sessionId, PINDEX idSize)
 {
   // create the new SSL context
-  SSL_METHOD * meth;
+  const SSL_METHOD * meth;
 
   switch (method) {
-    case SSLv2:
-      meth = SSLv2_method();
-      break;
     case SSLv3:
       meth = SSLv3_method();
       break;
