Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Commit

Permalink
remove silly comment
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFrench committed Nov 21, 2017
1 parent 50b48d8 commit d3da401
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions evhtp.c
Original file line number Diff line number Diff line change
Expand Up @@ -4841,14 +4841,12 @@ evhtp_ssl_init(evhtp_t * htp, evhtp_ssl_cfg_t * cfg)
X509_STORE_set_flags(SSL_CTX_get_cert_store(htp->ssl_ctx), cfg->store_flags);
SSL_CTX_set_verify(htp->ssl_ctx, cfg->verify_peer, cfg->x509_verify_cb);

if (cfg->x509_chk_issued_cb != NULL)
{
if (cfg->x509_chk_issued_cb != NULL) {
#if OPENSSL_VERSION_NUMBER < 0x10100000L
htp->ssl_ctx->cert_store->check_issued = cfg->x509_chk_issued_cb;
#else
X509_STORE_set_check_issued(SSL_CTX_get_cert_store(htp->ssl_ctx), cfg->x509_chk_issued_cb);
#endif
/*SSL_CTX_set_cert_store(htp->ssl_ctx, cfg->x509_chk_issued_cb); */
}

if (cfg->verify_depth)
Expand Down

0 comments on commit d3da401

Please sign in to comment.