Guenter Knauf wrote:
>
> 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;
>
Erk, shows how long it was since I wrote that. OPENSSL_STRING is only defined in
1.0.0. It should work with STACK in 0.9.8 though: that is defined in
crypto/stack/stack.h I'll work on a fix for both branches.
Steve.
--
Dr Stephen N. Henson. Senior Technical/Cryptography Advisor,
Open Source Software Institute: www.oss-institute.org
OpenSSL Core team: www.openssl.org