From e61d0ada05106fc896305dcf81913192704b8e14 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Tue, 15 Oct 2019 15:24:38 -0300 Subject: [PATCH] Small adjustment. --- src/ssl/negotiate.c | 2 -- 1 file changed, 0 insertions(+), 2 deletions(-) diff --git a/src/ssl/negotiate.c b/src/ssl/negotiate.c index 1e4bdee..45c0bca 100644 --- a/src/ssl/negotiate.c +++ b/src/ssl/negotiate.c @@ -258,9 +258,7 @@ static int background_ssl_negotiation(H3270 *hSession, void *message) // Got CRL, verify it! // Reference: https://stackoverflow.com/questions/10510850/how-to-verify-the-certificate-for-the-ongoing-ssl-session X509_STORE_CTX *csc = X509_STORE_CTX_new(); - X509_STORE_CTX_set_verify_cb(csc,x509_store_ctx_error_callback); - X509_STORE_CTX_init(csc, SSL_CTX_get_cert_store(ssl_ctx), peer, NULL); if(X509_verify_cert(csc) != 1) -- libgit2 0.21.2