Add $tls_in_* variables; note the old names as deprecated.
[exim.git] / src / src / tls-openssl.c
index d5b31e72c646167204f34088621664acb790a0ee..a8a62fe8cbbc2ad7e263abe9342f7a9c585af0ee 100644 (file)
@@ -543,7 +543,10 @@ uschar *expanded;
 if (cbinfo->certificate == NULL)
   return OK;
 
-if (Ustrstr(cbinfo->certificate, US"tls_sni"))
+if (Ustrstr(cbinfo->certificate, US"tls_sni") ||
+    Ustrstr(cbinfo->certificate, US"tls_in_sni") ||
+    Ustrstr(cbinfo->certificate, US"tls_out_sni")
+   )
   reexpand_tls_files_for_sni = TRUE;
 
 if (!expand_check(cbinfo->certificate, US"tls_certificate", &expanded))