Created attachment 22343 [details] Proposed changes for OpenSSL 0.9.9 compatibility In early June, further type-checking enhancements to OpenSSL were committed (http://cvs.openssl.org/chngview?cn=17247), and at the same time the declaration of the STACK struct was removed from stack.h. This now leads to errors such as ssl_engine_init.c: In function 'ssl_init_ctx_verify': ssl_engine_init.c:576: error: 'STACK' undeclared (first use in this function) ssl_engine_init.c:576: error: (Each undeclared identifier is reported only once ssl_engine_init.c:576: error: for each function it appears in.) ssl_engine_init.c:576: error: expected expression before ')' token when compiling mod_ssl against 0.9.9. The attached patch fixes these issues (as well as some additional warnings showing up with 0.9.9).
Does this break compilation with any older version of OpenSSL, have you tested?
(In reply to comment #1) > Does this break compilation with any older version of OpenSSL, have you tested? Depends on what exactly you mean with "any older version"... STACK_OF(X509) has been introduced with OpenSSL 0.9.3 (released in May 1993), EXTENDED_KEY_USAGE has been available since version 0.9.7 (December 2002).
Fixed in r748396, r749466, r749467.