httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r830765 - /httpd/httpd/trunk/modules/ssl/ssl_toolkit_compat.h
Date Wed, 28 Oct 2009 21:17:51 GMT
Author: fuankg
Date: Wed Oct 28 21:17:50 2009
New Revision: 830765

URL: http://svn.apache.org/viewvc?rev=830765&view=rev
Log:
define HAVE_OCSP dependent on OpenSSL version to make things
easier for non-configure platforms (NetWare, Win32).

Modified:
    httpd/httpd/trunk/modules/ssl/ssl_toolkit_compat.h

Modified: httpd/httpd/trunk/modules/ssl/ssl_toolkit_compat.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_toolkit_compat.h?rev=830765&r1=830764&r2=830765&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_toolkit_compat.h (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_toolkit_compat.h Wed Oct 28 21:17:50 2009
@@ -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



Mime
View raw message