projects
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2de3a3
)
Add GnuTLS version check
author
Jeremy Harris
<jgh146exb@wizmail.org>
Fri, 23 May 2014 17:32:48 +0000
(18:32 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Fri, 23 May 2014 17:32:48 +0000
(18:32 +0100)
src/src/tls-gnu.c
patch
|
blob
|
blame
|
history
diff --git
a/src/src/tls-gnu.c
b/src/src/tls-gnu.c
index e85095d6504d12b8ff67a5e4e120c2490ca5ac60..5bdb21e6ee3447d6b9dc8198aa688bc1acbd3b12 100644
(file)
--- a/
src/src/tls-gnu.c
+++ b/
src/src/tls-gnu.c
@@
-43,6
+43,11
@@
require current GnuTLS, then we'll drop support for the ancient libraries).
#if GNUTLS_VERSION_NUMBER >= 0x020c00
# include <gnutls/pkcs11.h>
#endif
+#if GNUTLS_VERSION_NUMBER < 0x030103 && !defined(DISABLE_OCSP)
+# warning "GnuTLS library version too old; define DISABLE_OCSP in Makefile"
+# define DISABLE_OCSP
+#endif
+
#ifndef DISABLE_OCSP
# include <gnutls/ocsp.h>
#endif