diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2016-02-05 18:47:45 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2016-02-05 18:47:45 +0000 |
commit | 66802652b8500bae10ac530b6fe4976669f5dcff (patch) | |
tree | e9890cef119453520c3b8b7db7319ff4ab5fbf35 | |
parent | b43517edaaedac3a90936dd4a6cc7b01cc9618a8 (diff) |
TLS: Whine to log on client config of SNI under too-old OpenSSL version
-rw-r--r-- | src/src/tls-openssl.c | 3 | ||||
-rw-r--r-- | test/scripts/2100-OpenSSL/2130 | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c index f45daa767..98762fd62 100644 --- a/src/src/tls-openssl.c +++ b/src/src/tls-openssl.c @@ -2079,8 +2079,7 @@ if (ob->tls_sni) DEBUG(D_tls) debug_printf("Setting TLS SNI \"%s\"\n", tls_out.sni); SSL_set_tlsext_host_name(client_ssl, tls_out.sni); #else - DEBUG(D_tls) - debug_printf("OpenSSL at build-time lacked SNI support, ignoring \"%s\"\n", + log_write(0, LOG_MAIN, "SNI unusable with this OpenSSL library version; ignoring \"%s\"\n", tls_out.sni); #endif } diff --git a/test/scripts/2100-OpenSSL/2130 b/test/scripts/2100-OpenSSL/2130 index 1de3e4f40..afaa949e0 100644 --- a/test/scripts/2100-OpenSSL/2130 +++ b/test/scripts/2100-OpenSSL/2130 @@ -1,4 +1,4 @@ -# TLS: SNI +# TLS: client SNI # exim -DSERVER=server -bd -oX PORT_D **** |