summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2021-10-22 15:52:15 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2021-10-22 15:52:15 +0100
commit041bf37266e8b97f457b78401ee7006429c69495 (patch)
tree285616c4bdd452af5a15d3b2c8dac83eb3957a16
parent45d3a3348699403e2fc78a85a382b1773c95ad9b (diff)
GnuTLS: add debug warning for tls_dhparam ignore
-rw-r--r--src/src/tls-gnu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/src/tls-gnu.c b/src/src/tls-gnu.c
index c6625c060..02eb7e8a0 100644
--- 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. */