[exim-cvs] Do not claim OCSP support when compiled with too-…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Exim Git Commits Mailing List
Ημερομηνία:  
Προς: exim-cvs
Αντικείμενο: [exim-cvs] Do not claim OCSP support when compiled with too-old GnuTLS version
Gitweb: http://git.exim.org/exim.git/commitdiff/f797c123446126b9ac1a9da9a722b2f2eedee9b1
Commit:     f797c123446126b9ac1a9da9a722b2f2eedee9b1
Parent:     4650b314ad07f4813d2cb826546d9048a4555c83
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Oct 26 22:57:00 2014 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Oct 26 22:57:00 2014 +0000


    Do not claim OCSP support when compiled with too-old GnuTLS version
---
 src/src/exim.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)


diff --git a/src/src/exim.c b/src/src/exim.c
index 5faa6f9..102d850 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);