httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guenter Knauf <fua...@apache.org>
Subject Re: svn commit: r829619 - in /httpd/httpd/trunk: ./ modules/ssl/
Date Tue, 27 Oct 2009 02:14:55 GMT
Hi Joe, Steve,
I have some probs with getting this compiled;
first its inclear for me from where HAVE_OCSP should get defined in 
ssl_toolkit.compat.h - for me it seems its not defined in line 42, thus
#include <openssl/ocsp.h>
in line 44 is not included, and causes compile errors on NetWare since 
later on in line 150 we have:
#if (OPENSSL_VERSION_NUMBER >= 0x00908080)
#ifndef OPENSSL_NO_TLSEXT
#define HAVE_OCSP_STAPLING
#endif
#endif
so HAVE_OCSP_STAPLING gets defined when !OPENSSL_NO_TLSEXT although 
ocsp.h was not included.

After I defined HAVE_OCSP manually with CFLAGS I come to next error in 
line 110 of ssl_utl_stapling.c where STACK is not defined; I've searched 
both OpenSSL 0.9.8 and 1.0.0 branches, but couldnt find anything but 
only _STACK in crypto/stack/stack.h with the hint:
/* Use STACK_OF(...) instead */
so shouldnt line 110 be:
Index: ssl_util_stapling.c
===================================================================
--- ssl_util_stapling.c (revision 830045)
+++ ssl_util_stapling.c (working copy)
@@ -107,7 +107,7 @@
  {
      certinfo *cinf;
      X509 *issuer = NULL;
-    STACK *aia = NULL;
+    STACK_OF(OPENSSL_STRING) *aia = NULL;

      if (x == NULL)
          return 0;

Gün.



Mime
View raw message