summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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