On 11/03/2009 07:19 PM, [email protected] wrote: > Author: sctemme > Date: Tue Nov 3 18:19:33 2009 > New Revision: 832496 > > URL: http://svn.apache.org/viewvc?rev=832496&view=rev > Log: > We now check for OCSP support in configure, so we can lose an OpenSSL version > number check. Use a type safe STACK. > > Modified: > httpd/httpd/trunk/modules/ssl/ssl_toolkit_compat.h > httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c > > 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=832496&r1=832495&r2=832496&view=diff > ============================================================================== > --- httpd/httpd/trunk/modules/ssl/ssl_toolkit_compat.h (original) > +++ httpd/httpd/trunk/modules/ssl/ssl_toolkit_compat.h Tue Nov 3 18:19:33 > 2009 > @@ -39,8 +39,7 @@ > #include <openssl/rand.h> > #include <openssl/x509v3.h> > > -#if OPENSSL_VERSION_NUMBER >= 0x00907000 > -#define HAVE_OCSP > +#ifdef HAVE_OCSP > #include <openssl/x509_vfy.h> > #include <openssl/ocsp.h> > #endif
I guess this brings back some problems on Windows and Netware: See threads starting at http://mail-archives.apache.org/mod_mbox/httpd-dev/200910.mbox/%[email protected]%3e and http://mail-archives.apache.org/mod_mbox/httpd-dev/200911.mbox/%[email protected]%3e But I guess Guenther can explain this better. Regards RĂ¼diger
