File pwlib-v1_11_0-openssl.patch of Package pwlib
Index: pwlib_v1_11_0/src/ptclib/pssl.cxx
===================================================================
--- pwlib_v1_11_0.orig/src/ptclib/pssl.cxx 2006-05-27 00:05:42.000000000 +0200
+++ pwlib_v1_11_0/src/ptclib/pssl.cxx 2010-04-18 19:38:28.000000000 +0200
@@ -892,7 +892,7 @@ PSSLContext::PSSLContext(const void * se
InitialisationMutex.Signal();
// create the new SSL context
- SSL_METHOD * meth = SSLv23_method();
+ const SSL_METHOD * meth = SSLv23_method();
context = SSL_CTX_new(meth);
if (context == NULL)
PSSLAssert("Error creating context: ");