summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2021-07-23 12:05:49 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2021-07-23 12:05:49 +0100
commit27d03dca10d1d7247b7e006afc27bcb1e2c0e516 (patch)
tree427b72b2a6348ae4dce332442d3db5ae91de8504 /src
parentdbbc1c20b59dc10368e31a7c81f110eb40b36494 (diff)
DKIM: fix build with older GnuTLS
Diffstat (limited to 'src')
-rw-r--r--src/src/pdkim/signing.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/src/pdkim/signing.c b/src/src/pdkim/signing.c
index d818fc9df..5f24e8030 100644
--- a/src/src/pdkim/signing.c
+++ b/src/src/pdkim/signing.c
@@ -37,6 +37,10 @@ features_crypto(void)
#ifdef SIGN_GNUTLS
# define EXIM_GNUTLS_LIBRARY_LOG_LEVEL 3
+# ifndef GNUTLS_VERIFY_ALLOW_BROKEN
+# define GNUTLS_VERIFY_ALLOW_BROKEN 0
+# endif
+
/* Logging function which can be registered with
* gnutls_global_set_log_function()