summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-01-26 18:03:01 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2014-01-26 18:03:01 +0000
commitb26a34e4fcb8ae07c413eea991918247f52c5940 (patch)
treeebbc5594a1691009e0169ebcb9f3976007bc0f54 /src
parent5a1b84430ab93b6d17b9936bd813d243885a4475 (diff)
Fix tls_verify_certificates in gnutls use. Bug 1413.
Patch by W.Breyha, tested by H.Schlittermann
Diffstat (limited to 'src')
-rw-r--r--src/src/tls-gnu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/tls-gnu.c b/src/src/tls-gnu.c
index e089e350e..4f1169aa4 100644
--- a/src/src/tls-gnu.c
+++ b/src/src/tls-gnu.c
@@ -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;