summaryrefslogtreecommitdiff
path: root/devel/pwlib/files/patch-src-ptclib-pssl.cxx
blob: 8f39e3fd2f0be35e81d247cb70095dbb4f811813 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- src/ptclib/pssl.cxx.orig	2011-04-17 14:36:07.000000000 +0700
+++ src/ptclib/pssl.cxx	2011-04-17 14:36:37.000000000 +0700
@@ -914,8 +914,7 @@
   InitialisationMutex.Signal();
 
   // create the new SSL context
-  SSL_METHOD * meth = SSLv23_method();
-  context  = SSL_CTX_new(meth);
+  context  = SSL_CTX_new(SSLv23_method());
   if (context == NULL)
     PSSLAssert("Error creating context: ");