]> granicus.if.org Git - apache/commitdiff
define HAVE_OCSP dependent on OpenSSL version to make things
authorGuenter Knauf <fuankg@apache.org>
Wed, 28 Oct 2009 21:17:50 +0000 (21:17 +0000)
committerGuenter Knauf <fuankg@apache.org>
Wed, 28 Oct 2009 21:17:50 +0000 (21:17 +0000)
easier for non-configure platforms (NetWare, Win32).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@830765 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_toolkit_compat.h

index f1bdebdc3cac24598320fcf01aaa89e49922f626..39850605a707ecef12605a71e711a7b44cf226d7 100644 (file)
@@ -39,7 +39,8 @@
 #include <openssl/rand.h>
 #include <openssl/x509v3.h>
 
-#ifdef HAVE_OCSP
+#if OPENSSL_VERSION_NUMBER >= 0x00907000
+#define HAVE_OCSP
 #include <openssl/x509_vfy.h>
 #include <openssl/ocsp.h>
 #endif