GnuTLS: add debug warning for tls_dhparam ignore
authorJeremy Harris <jgh146exb@wizmail.org>
Fri, 22 Oct 2021 14:52:15 +0000 (15:52 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Fri, 22 Oct 2021 14:52:15 +0000 (15:52 +0100)
src/src/tls-gnu.c

index c6625c0600b9d02f85a0941940f924a2c473049c..02eb7e8a09c21dd5b639b457d9094318086bd53d 100644 (file)
@@ -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. */