]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
added back HAVE_OCSP define hack for non-configure platforms, but
authorGuenter Knauf <fuankg@apache.org>
Tue, 3 Nov 2009 21:43:14 +0000 (21:43 +0000)
committerGuenter Knauf <fuankg@apache.org>
Tue, 3 Nov 2009 21:43:14 +0000 (21:43 +0000)
only use if HAVE_OCSP is not yet defined as suggested by rpluem.

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

modules/ssl/ssl_toolkit_compat.h

index f1bdebdc3cac24598320fcf01aaa89e49922f626..3c14b93b6698bb88d4f1c1818f3e9d5c8ea71d6c 100644 (file)
 #include <openssl/rand.h>
 #include <openssl/x509v3.h>
 
+/* hack for non-configure platforms (NetWare, Win32) */
+#if !defined(HAVE_OCSP) && (OPENSSL_VERSION_NUMBER >= 0x00907000)
+#define HAVE_OCSP
+#endif
 #ifdef HAVE_OCSP
 #include <openssl/x509_vfy.h>
 #include <openssl/ocsp.h>