nghttpx: Remove unnecessary condition
This commit is contained in:
parent
2a9b23bfab
commit
6c147aa1c5
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue