mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 22:08:33 +00:00
fix sofia build with new openssl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15426 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
5c5c23c2d4
commit
57169ef9fb
1 file changed
+2
-2
@@ -271,7 +271,7 @@ int tls_init_context(tls_t *tls, tls_issues_t const *ti)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (tls->ctx == NULL) {
|
if (tls->ctx == NULL) {
|
||||||
SSL_METHOD *meth;
|
const SSL_METHOD *meth;
|
||||||
|
|
||||||
/* meth = SSLv3_method(); */
|
/* meth = SSLv3_method(); */
|
||||||
/* meth = SSLv23_method(); */
|
/* meth = SSLv23_method(); */
|
||||||
@@ -281,7 +281,7 @@ int tls_init_context(tls_t *tls, tls_issues_t const *ti)
|
|||||||
else
|
else
|
||||||
meth = SSLv23_method();
|
meth = SSLv23_method();
|
||||||
|
|
||||||
tls->ctx = SSL_CTX_new(meth);
|
tls->ctx = SSL_CTX_new((SSL_METHOD*)meth);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tls->ctx == NULL) {
|
if (tls->ctx == NULL) {
|
||||||
|
|||||||
Reference in new issue
Block a user