From 66802652b8500bae10ac530b6fe4976669f5dcff Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Fri, 5 Feb 2016 18:47:45 +0000 Subject: TLS: Whine to log on client config of SNI under too-old OpenSSL version --- src/src/tls-openssl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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 } -- cgit v1.2.3