mirror of https://github.com/getdnsapi/getdns.git
Less logging with successful authenticated upstreams
This commit is contained in:
parent
540735a956
commit
2471f43dea
|
@ -1120,12 +1120,8 @@ tls_do_handshake(getdns_upstream *upstream)
|
||||||
else
|
else
|
||||||
_getdns_upstream_log(upstream,
|
_getdns_upstream_log(upstream,
|
||||||
GETDNS_LOG_UPSTREAM_STATS, GETDNS_LOG_DEBUG,
|
GETDNS_LOG_UPSTREAM_STATS, GETDNS_LOG_DEBUG,
|
||||||
"%-40s : Verify passed : Transport=TLS - %s - "
|
"%-40s : Verify passed : Transport=TLS\n",
|
||||||
"(%d) \"%s\"\n", upstream->addr_str,
|
upstream->addr_str);
|
||||||
( upstream->tls_fallback_ok
|
|
||||||
? "Allowed because of Opportunistic profile"
|
|
||||||
: "*Failure*" ), verify_result,
|
|
||||||
X509_verify_cert_error_string(verify_result));
|
|
||||||
|
|
||||||
if (upstream->tls_auth_state == GETDNS_AUTH_FAILED
|
if (upstream->tls_auth_state == GETDNS_AUTH_FAILED
|
||||||
&& !upstream->tls_fallback_ok)
|
&& !upstream->tls_fallback_ok)
|
||||||
|
|
Loading…
Reference in New Issue