httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r832572 - /httpd/httpd/trunk/modules/ssl/ssl_toolkit_compat.h
Date Tue, 03 Nov 2009 21:43:15 GMT
Author: fuankg
Date: Tue Nov  3 21:43:14 2009
New Revision: 832572

URL: http://svn.apache.org/viewvc?rev=832572&view=rev
Log:
added back HAVE_OCSP define hack for non-configure platforms, but
only use if HAVE_OCSP is not yet defined as suggested by rpluem.

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=832572&r1=832571&r2=832572&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_toolkit_compat.h (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_toolkit_compat.h Tue Nov  3 21:43:14 2009
@@ -39,6 +39,10 @@
 #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>



Mime
View raw message