Merge branch 'master' into malware-1418
[users/jgh/exim.git] / src / src / tls-gnu.c
index 5a37fae563348fb448bb517ec711a80073a7bca9..4f1169aa415a6ed37efba907a10901894dc8261c 100644 (file)
@@ -2,7 +2,7 @@
 *     Exim - an Internet mail transport agent    *
 *************************************************/
 
-/* Copyright (c) University of Cambridge 1995 - 2012 */
+/* Copyright (c) University of Cambridge 1995 - 2013 */
 /* See the file NOTICE for conditions of use and distribution. */
 
 /* Copyright (c) Phil Pennock 2012 */
@@ -1601,7 +1601,7 @@ DEBUG(D_tls) debug_printf("Setting D-H prime minimum acceptable bits to %d\n",
     dh_min_bits);
 gnutls_dh_set_prime_bits(state->session, dh_min_bits);
 
-if (verify_certs == NULL)
+if (state->exp_tls_verify_certificates == NULL)
   {
   DEBUG(D_tls) debug_printf("TLS: server certificate verification not required\n");
   state->verify_requirement = VERIFY_NONE;