so #define sk_OPENSSL_STRING_pop to sk_pop on 0.9.8
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1040366 13f79535-47bb-0310-9956-
ffa450edef68
#if OPENSSL_VERSION_NUMBER >= 0x00908080 && defined(HAVE_OCSP) \
&& !defined(OPENSSL_NO_TLSEXT)
#define HAVE_OCSP_STAPLING
+#if (OPENSSL_VERSION_NUMBER < 0x10000000)
+#define sk_OPENSSL_STRING_pop sk_pop
+#endif
#endif
#if (OPENSSL_VERSION_NUMBER >= 0x009080a0) && defined(OPENSSL_FIPS)
{
certinfo *cinf;
X509 *issuer = NULL;
- STACK_OF(STRING) *aia = NULL;
+ STACK_OF(OPENSSL_STRING) *aia = NULL;
if (x == NULL)
return 0;
aia = X509_get1_ocsp(x);
if (aia)
- cinf->uri = sk_STRING_pop(aia);
+ cinf->uri = sk_OPENSSL_STRING_pop(aia);
if (!cinf->uri && !mctx->stapling_force_url) {
ap_log_error(APLOG_MARK, APLOG_ERR, 0, s,
"ssl_stapling_init_cert: no responder URL");