[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-cvs
Subject: svn commit: r830554 - /httpd/httpd/trunk/modules/ssl/ssl_toolkit_compat.h
From: jorton () apache ! org
Date: 2009-10-28 14:19:32
Message-ID: 20091028141932.C2AFC23888FF () eris ! apache ! org
[Download RAW message or body]
Author: jorton
Date: Wed Oct 28 14:19:32 2009
New Revision: 830554
URL: http://svn.apache.org/viewvc?rev=830554&view=rev
Log:
* modules/ssl/ssl_toolkit_compat.h: Fold #if checks to enable OCSP
stapling support, and also check that HAVE_OCSP is defined.
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=830554&r1=830553&r2=830554&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_toolkit_compat.h (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_toolkit_compat.h Wed Oct 28 14:19:32 2009
@@ -147,11 +147,10 @@
#define HAVE_SSL_X509V3_EXT_d2i
-#if (OPENSSL_VERSION_NUMBER >= 0x00908080)
-#ifndef OPENSSL_NO_TLSEXT
+#if OPENSSL_VERSION_NUMBER >= 0x00908080 && defined(HAVE_OCSP) \
+ && !defined(OPENSSL_NO_TLSEXT)
#define HAVE_OCSP_STAPLING
#endif
-#endif
#ifndef PEM_F_DEF_CALLBACK
#ifdef PEM_F_PEM_DEF_CALLBACK
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic