diff options
| author | 崔一鸣 <[email protected]> | 2019-06-28 12:19:32 +0600 |
|---|---|---|
| committer | 崔一鸣 <[email protected]> | 2019-06-28 12:19:32 +0600 |
| commit | 455c8c1a93a14d9a3ec0e73e0d77ad5a2e1ede96 (patch) | |
| tree | 3ab8e60ab2013e64146732214b9d415a77b12ffe | |
| parent | 53f537397f3534d59c024b08d73f49fda1e4a219 (diff) | |
删掉多余的||v4.0.4-20190628
| -rw-r--r-- | platform/src/ssl_stream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/src/ssl_stream.cpp b/platform/src/ssl_stream.cpp index 52fd29e..d499a86 100644 --- a/platform/src/ssl_stream.cpp +++ b/platform/src/ssl_stream.cpp @@ -1167,7 +1167,7 @@ void ssl_stream_process_error(struct ssl_stream * s_stream, unsigned long sslerr sslerr==SSL_R_SSLV3_ALERT_BAD_CERTIFICATE || sslerr==SSL_R_TLSV1_ALERT_UNKNOWN_CA || sslerr==SSL_R_SSLV3_ALERT_UNSUPPORTED_CERTIFICATE || - sslerr==SSL_R_UNKNOWN_CERTIFICATE_TYPE ||) + sslerr==SSL_R_UNKNOWN_CERTIFICATE_TYPE) && s_upstream->is_server_cert_verify_passed && s_upstream->verify_result.is_hostmatched) { |
