git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45d3a33
)
GnuTLS: add debug warning for tls_dhparam ignore
author
Jeremy Harris
<jgh146exb@wizmail.org>
Fri, 22 Oct 2021 14:52:15 +0000
(15:52 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Fri, 22 Oct 2021 14:52:15 +0000
(15:52 +0100)
src/src/tls-gnu.c
patch
|
blob
|
history
diff --git
a/src/src/tls-gnu.c
b/src/src/tls-gnu.c
index c6625c0600b9d02f85a0941940f924a2c473049c..02eb7e8a09c21dd5b639b457d9094318086bd53d 100644
(file)
--- a/
src/src/tls-gnu.c
+++ b/
src/src/tls-gnu.c
@@
-1966,6
+1966,9
@@
if (!state->host)
/* Unnecessary & discouraged with 3.6.0 or later */
gnutls_certificate_set_dh_params(state->lib_state.x509_cred, dh_server_params);
}
+#else
+DEBUG(D_tls) if (tls_dhparam)
+ debug_printf("Ignoring tls_dhparam (recent version GnuTLS)\n");
#endif
/* Link the credentials to the session. */