projects
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a1b844
)
Fix tls_verify_certificates in gnutls use. Bug 1413.
author
Jeremy Harris
<jgh146exb@wizmail.org>
Sun, 26 Jan 2014 18:03:01 +0000
(18:03 +0000)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Sun, 26 Jan 2014 18:03:01 +0000
(18:03 +0000)
Patch by W.Breyha, tested by H.Schlittermann
src/src/tls-gnu.c
patch
|
blob
|
blame
|
history
diff --git
a/src/src/tls-gnu.c
b/src/src/tls-gnu.c
index e089e350e797fe7205f7b1faf76eabe9a76bf79c..4f1169aa415a6ed37efba907a10901894dc8261c 100644
(file)
--- 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_cert
s == NULL)
+if (
state->exp_tls_verify_certificate
s == NULL)
{
DEBUG(D_tls) debug_printf("TLS: server certificate verification not required\n");
state->verify_requirement = VERIFY_NONE;