Commit e61d0ada05106fc896305dcf81913192704b8e14

Authored by Perry Werneck
1 parent 5edf5780

Small adjustment.

Showing 1 changed file with 0 additions and 2 deletions   Show diff stats
src/ssl/negotiate.c
@@ -258,9 +258,7 @@ static int background_ssl_negotiation(H3270 *hSession, void *message) @@ -258,9 +258,7 @@ static int background_ssl_negotiation(H3270 *hSession, void *message)
258 // Got CRL, verify it! 258 // Got CRL, verify it!
259 // Reference: https://stackoverflow.com/questions/10510850/how-to-verify-the-certificate-for-the-ongoing-ssl-session 259 // Reference: https://stackoverflow.com/questions/10510850/how-to-verify-the-certificate-for-the-ongoing-ssl-session
260 X509_STORE_CTX *csc = X509_STORE_CTX_new(); 260 X509_STORE_CTX *csc = X509_STORE_CTX_new();
261 -  
262 X509_STORE_CTX_set_verify_cb(csc,x509_store_ctx_error_callback); 261 X509_STORE_CTX_set_verify_cb(csc,x509_store_ctx_error_callback);
263 -  
264 X509_STORE_CTX_init(csc, SSL_CTX_get_cert_store(ssl_ctx), peer, NULL); 262 X509_STORE_CTX_init(csc, SSL_CTX_get_cert_store(ssl_ctx), peer, NULL);
265 263
266 if(X509_verify_cert(csc) != 1) 264 if(X509_verify_cert(csc) != 1)