From: Guenter Knauf Date: Tue, 3 Nov 2009 21:43:14 +0000 (+0000) Subject: added back HAVE_OCSP define hack for non-configure platforms, but X-Git-Tag: 2.3.3~58 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=21fa1f365bfdc650188bab7ac81bcd38c3004234;p=thirdparty%2Fapache%2Fhttpd.git added back HAVE_OCSP define hack for non-configure platforms, but 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 --- diff --git a/modules/ssl/ssl_toolkit_compat.h b/modules/ssl/ssl_toolkit_compat.h index f1bdebdc3ca..3c14b93b669 100644 --- a/modules/ssl/ssl_toolkit_compat.h +++ b/modules/ssl/ssl_toolkit_compat.h @@ -39,6 +39,10 @@ #include #include +/* hack for non-configure platforms (NetWare, Win32) */ +#if !defined(HAVE_OCSP) && (OPENSSL_VERSION_NUMBER >= 0x00907000) +#define HAVE_OCSP +#endif #ifdef HAVE_OCSP #include #include