mirror of
https://github.com/strophe/libstrophe.git
synced 2026-08-02 02:16:22 +00:00
Actually set the tlscert conn reference
Previously it was always NULL
This commit is contained in:
committed by
Steffen Jaeckel
parent
649a3b4fca
commit
f8cda0f65c
@@ -422,6 +422,8 @@ static int _tls_verify(gnutls_session_t session)
|
||||
return -1;
|
||||
}
|
||||
|
||||
tlscert->conn = tls->conn;
|
||||
|
||||
if (tls->conn->certfail_handler(tlscert, (char *)out.data) == 0) {
|
||||
xmpp_tlscert_free(tlscert);
|
||||
gnutls_x509_crt_deinit(cert);
|
||||
|
||||
Reference in New Issue
Block a user