From b999c48327cd31b50bfdbda9ce6a23ea3ee25730 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 11 Dec 2016 16:36:09 +0000 Subject: OpenSSL: add detail to certname verify fail log line --- src/src/tls-openssl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3