summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-10-30 20:32:14 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2014-10-30 20:32:14 +0000
commit839a3b0d5528e557f52f47e8345e290edd86b520 (patch)
tree8fefd02eb604eaf0d0e370fdb0c212a88bb5ea66
parent805c9d531fcf74099459cc57e520a59b472e0de5 (diff)
Test suite: disable OCSP for old openssl part 3
-rw-r--r--test/src/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/src/client.c b/test/src/client.c
index 5b52916ee..3f3bbe97e 100644
--- a/test/src/client.c
+++ b/test/src/client.c
@@ -66,7 +66,8 @@ latter needs a whole pile of tables. */
# include <openssl/ssl.h>
# include <openssl/err.h>
# include <openssl/rand.h>
-# if !defined(EXIM_HAVE_OPENSSL_TLSEXT) && !defined(DISABLE_OCSP)
+
+# if OPENSSL_VERSION_NUMBER < 0x0090806fL && !defined(DISABLE_OCSP) && !defined(OPENSSL_NO_TLSEXT)
# warning "OpenSSL library version too old; define DISABLE_OCSP in Makefile"
# define DISABLE_OCSP
# endif