summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-10-26 22:57:00 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2014-10-26 22:57:00 +0000
commitf797c123446126b9ac1a9da9a722b2f2eedee9b1 (patch)
tree96003de20622456061cb28f528aae6fce96c30fa /src
parent4650b314ad07f4813d2cb826546d9048a4555c83 (diff)
Do not claim OCSP support when compiled with too-old GnuTLS version
Diffstat (limited to 'src')
-rw-r--r--src/src/exim.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/src/exim.c b/src/src/exim.c
index 5faa6f97f..102d8504c 100644
--- a/src/src/exim.c
+++ b/src/src/exim.c
@@ -12,6 +12,13 @@ Also a few functions that don't naturally fit elsewhere. */
#include "exim.h"
+#ifdef USE_GNUTLS
+# include <gnutls/gnutls.h>
+# if GNUTLS_VERSION_NUMBER < 0x030103 && !defined(DISABLE_OCSP)
+# define DISABLE_OCSP
+# endif
+#endif
+
extern void init_lookup_list(void);