mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2024-12-12 18:36:07 +00:00
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
Block a user