修改debug日志: 输出服务端证书验证结果
This commit is contained in:
@@ -476,15 +476,6 @@ int ssl_trusted_cert_storage_verify_conn(struct ssl_trusted_cert_storage* storag
|
||||
|
||||
if (is_ssl_debug())
|
||||
{
|
||||
TFE_LOG_DEBUG(g_default_logger,
|
||||
"sni:%s, cet_real_untrust:%d, verify_host_fail:%d, verify_issure_fail:%d, verify_self_signed_fail:%d, verify_expiry_date_fail:%d, verify_other_fail:%d",
|
||||
(hostname ? hostname : "NULL"),
|
||||
((param->real_untrust & 0xff) ? 1 : 0),
|
||||
((param->real_untrust & 0x01) ? 1 : 0),
|
||||
((param->real_untrust & 0x02) ? 1 : 0),
|
||||
((param->real_untrust & 0x04) ? 1 : 0),
|
||||
((param->real_untrust & 0x08) ? 1 : 0),
|
||||
((param->real_untrust & 0x10) ? 1 : 0));
|
||||
ssl_chain_dump(hostname, "server_chain", cert_chain);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user