Merge "res_xmpp: Correctly check return value of SSL_connect" into 14

pull/8/head
Joshua Colp 9 years ago committed by Gerrit Code Review
commit aa7b60ecc7

@ -2691,7 +2691,7 @@ static int xmpp_client_requested_tls(struct ast_xmpp_client *client, struct ast_
goto failure;
}
if (!SSL_connect(client->ssl_session)) {
if (SSL_connect(client->ssl_session) <= 0) {
goto failure;
}

Loading…
Cancel
Save