Commit 99b120d1 authored by Mathieu Rene's avatar Mathieu Rene Committed by Pekka Pessi

fix sofia build with new openssl

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15426 d0543943-73ff-0310-b7d9-9358b9ac24b2
parent ca02a4d7
......@@ -270,7 +270,7 @@ int tls_init_context(tls_t *tls, tls_issues_t const *ti)
#endif
if (tls->ctx == NULL) {
SSL_METHOD *meth;
const SSL_METHOD *meth;
/* meth = SSLv3_method(); */
/* meth = SSLv23_method(); */
......@@ -280,7 +280,7 @@ int tls_init_context(tls_t *tls, tls_issues_t const *ti)
else
meth = SSLv23_method();
tls->ctx = SSL_CTX_new(meth);
tls->ctx = SSL_CTX_new((SSL_METHOD*)meth);
}
if (tls->ctx == NULL) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment