From f797c123446126b9ac1a9da9a722b2f2eedee9b1 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 26 Oct 2014 22:57:00 +0000 Subject: [PATCH] Do not claim OCSP support when compiled with too-old GnuTLS version --- src/src/exim.c | 7 +++++++ 1 file changed, 7 insertions(+) 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 +# if GNUTLS_VERSION_NUMBER < 0x030103 && !defined(DISABLE_OCSP) +# define DISABLE_OCSP +# endif +#endif + extern void init_lookup_list(void); -- 2.30.2