[exim-cvs] Reinstate SNI variables under GnuTLS. Bug 1499

Góra strony
Delete this message
Reply to this message
Autor: Exim Git Commits Mailing List
Data:  
Dla: exim-cvs
Temat: [exim-cvs] Reinstate SNI variables under GnuTLS. Bug 1499
Gitweb: http://git.exim.org/exim.git/commitdiff/4b57b15d12942aff5360105a71f9c1b9d9a4edaf
Commit:     4b57b15d12942aff5360105a71f9c1b9d9a4edaf
Parent:     f182293e3a29c4433816803268350f6c2797a3e0
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Tue Jul 8 13:54:53 2014 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Tue Jul 8 13:54:53 2014 +0100


    Reinstate SNI variables under GnuTLS.  Bug 1499
---
 src/src/expand.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/src/src/expand.c b/src/src/expand.c
index 9d73803..c0edef6 100644
--- a/src/src/expand.c
+++ b/src/src/expand.c
@@ -677,7 +677,7 @@ static var_entry var_table[] = {
   { "tls_in_ourcert",      vtype_cert,        &tls_in.ourcert },
   { "tls_in_peercert",     vtype_cert,        &tls_in.peercert },
   { "tls_in_peerdn",       vtype_stringptr,   &tls_in.peerdn },
-#if defined(SUPPORT_TLS) && !defined(USE_GNUTLS)
+#if defined(SUPPORT_TLS)
   { "tls_in_sni",          vtype_stringptr,   &tls_in.sni },
 #endif
   { "tls_out_bits",        vtype_int,         &tls_out.bits },
@@ -687,12 +687,12 @@ static var_entry var_table[] = {
   { "tls_out_ourcert",     vtype_cert,        &tls_out.ourcert },
   { "tls_out_peercert",    vtype_cert,        &tls_out.peercert },
   { "tls_out_peerdn",      vtype_stringptr,   &tls_out.peerdn },
-#if defined(SUPPORT_TLS) && !defined(USE_GNUTLS)
+#if defined(SUPPORT_TLS)
   { "tls_out_sni",         vtype_stringptr,   &tls_out.sni },
 #endif


   { "tls_peerdn",          vtype_stringptr,   &tls_in.peerdn },    /* mind the alphabetical order! */
-#if defined(SUPPORT_TLS) && !defined(USE_GNUTLS)
+#if defined(SUPPORT_TLS)
   { "tls_sni",             vtype_stringptr,   &tls_in.sni },    /* mind the alphabetical order! */
 #endif