1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

We now check for OCSP support in configure, so we can lose an OpenSSL version

number check.  Use a type safe STACK.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832496 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sander Temme
2009-11-03 18:19:33 +00:00
parent e30af9ed74
commit 8abd8d66b3
2 changed files with 3 additions and 4 deletions

View File

@@ -107,7 +107,7 @@ int ssl_stapling_init_cert(server_rec *s, modssl_ctx_t *mctx, X509 *x)
{
certinfo *cinf;
X509 *issuer = NULL;
STACK *aia = NULL;
STACK_OF(STRING) *aia = NULL;
if (x == NULL)
return 0;
@@ -143,7 +143,7 @@ int ssl_stapling_init_cert(server_rec *s, modssl_ctx_t *mctx, X509 *x)
aia = X509_get1_ocsp(x);
if (aia)
cinf->uri = sk_pop(aia);
cinf->uri = sk_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");