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:
@@ -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");
|
||||
|
Reference in New Issue
Block a user