nghttpx: Remove unnecessary condition

This commit is contained in:
Tatsuhiro Tsujikawa 2016-02-07 18:39:06 +09:00
parent 2a9b23bfab
commit 6c147aa1c5

View File

@ -1750,7 +1750,7 @@ int Http2Session::tls_handshake() {
SSLOG(INFO, this) << "SSL/TLS handshake completed";
}
if (!get_config()->conn.downstream.no_tls && !get_config()->tls.insecure &&
if (!get_config()->tls.insecure &&
ssl::check_cert(conn_.tls.ssl, addr_) != 0) {
return -1;
}