diff options
-rw-r--r-- | src/src/tls-openssl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c index 452452df2..3762c7889 100644 --- a/src/src/tls-openssl.c +++ b/src/src/tls-openssl.c @@ -475,9 +475,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) { |