+18 March 2019: Wouter
+ - Add log message, at verbosity 4, that says the query is encrypted
+ with TLS, if that is enabled for the query.
+
7 March 2019: Wouter
- Fix for #4233: guard use of NDEBUG, so that it can be passed in
CFLAGS into configure.
comm_point_close(pend->c);
return 0;
}
+ verbose(VERB_ALGO, "the query is using TLS encryption, for %s",
+ (w->tls_auth_name?w->tls_auth_name:"an unauthenticated connection"));
#ifdef USE_WINSOCK
comm_point_tcp_win_bio_cb(pend->c, pend->c->ssl);
#endif
}
SSL_set_verify(pend->c->ssl, SSL_VERIFY_PEER, NULL);
}
+#else
+ verbose(VERB_ALGO, "the query has an auth_name, but libssl has no call to perform TLS authentication");
#endif /* HAVE_SSL_SET1_HOST */
}
w->pkt = NULL;