You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by fu...@apache.org on 2009/11/03 22:43:15 UTC

svn commit: r832572 - /httpd/httpd/trunk/modules/ssl/ssl_toolkit_compat.h

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>