diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/res_jabber.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_jabber.c b/res/res_jabber.c index 0c463f0c6..4b1e156cf 100644 --- a/res/res_jabber.c +++ b/res/res_jabber.c @@ -1244,7 +1244,7 @@ static int aji_tls_handshake(struct aji_client *client) /* Choose an SSL/TLS protocol version, create SSL_CTX */ client->ssl_method = SSLv3_method(); - if (!(client->ssl_context = SSL_CTX_new(client->ssl_method))) { + if (!(client->ssl_context = SSL_CTX_new((SSL_METHOD *) client->ssl_method))) { return IKS_NET_TLSFAIL; } |