summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-12-11 16:36:09 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2016-12-29 19:24:10 +0000
commitb999c48327cd31b50bfdbda9ce6a23ea3ee25730 (patch)
tree9cd3700b7750a4154b2346af3363b6b5e9ecafe6 /src
parent7b2838902b766105e5086e41c0dbb27d87c523ae (diff)
OpenSSL: add detail to certname verify fail log line
Diffstat (limited to 'src')
-rw-r--r--src/src/tls-openssl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c
index d9426ac91..2862111ab 100644
--- a/src/src/tls-openssl.c
+++ b/src/src/tls-openssl.c
@@ -472,9 +472,9 @@ else
#endif
{
log_write(0, LOG_MAIN,
- "[%s] SSL verify error: certificate name mismatch: \"%s\"",
- tlsp == &tls_out ? deliver_host_address : sender_host_address,
- dn);
+ "[%s] SSL verify error: certificate name mismatch: "
+ "DN=\"%s\" H=\"%s\"",
+ deliver_host_address, dn, verify_cert_hostnames);
*calledp = TRUE;
if (!*optionalp)
{