summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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)
{