[exim-cvs] Test suite: disable OCSP for old openssl part 3

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Exim Git Commits Mailing List
Dátum:  
Címzett: exim-cvs
Tárgy: [exim-cvs] Test suite: disable OCSP for old openssl part 3
Gitweb: http://git.exim.org/exim.git/commitdiff/839a3b0d5528e557f52f47e8345e290edd86b520
Commit:     839a3b0d5528e557f52f47e8345e290edd86b520
Parent:     805c9d531fcf74099459cc57e520a59b472e0de5
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Thu Oct 30 20:32:14 2014 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Thu Oct 30 20:32:14 2014 +0000


    Test suite: disable OCSP for old openssl part 3
---
 test/src/client.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/test/src/client.c b/test/src/client.c
index 5b52916..3f3bbe9 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