Commit e61d0ada05106fc896305dcf81913192704b8e14
1 parent
5edf5780
Exists in
master
and in
3 other branches
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 | 258 | // Got CRL, verify it! |
259 | 259 | // Reference: https://stackoverflow.com/questions/10510850/how-to-verify-the-certificate-for-the-ongoing-ssl-session |
260 | 260 | X509_STORE_CTX *csc = X509_STORE_CTX_new(); |
261 | - | |
262 | 261 | X509_STORE_CTX_set_verify_cb(csc,x509_store_ctx_error_callback); |
263 | - | |
264 | 262 | X509_STORE_CTX_init(csc, SSL_CTX_get_cert_store(ssl_ctx), peer, NULL); |
265 | 263 | |
266 | 264 | if(X509_verify_cert(csc) != 1) | ... | ... |