From: Jeremy Harris Date: Sun, 26 Oct 2014 22:57:00 +0000 (+0000) Subject: Do not claim OCSP support when compiled with too-old GnuTLS version X-Git-Tag: exim-4_85_RC1~25 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/f797c123446126b9ac1a9da9a722b2f2eedee9b1 Do not claim OCSP support when compiled with too-old GnuTLS version --- 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);