mirror of
https://github.com/strophe/libstrophe.git
synced 2026-07-31 17:36: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
@@ -540,6 +540,8 @@ static int _tls_verify(int preverify_ok, X509_STORE_CTX *x509_ctx)
|
||||
if (!tlscert)
|
||||
return 0;
|
||||
|
||||
tlscert->conn = conn;
|
||||
|
||||
strophe_debug(conn->ctx, "tls", "preverify_ok:%d\nSubject: %s\nIssuer: %s",
|
||||
preverify_ok, tlscert->elements[XMPP_CERT_SUBJECT],
|
||||
tlscert->elements[XMPP_CERT_ISSUER]);
|
||||
|
||||
Reference in New Issue
Block a user