summaryrefslogtreecommitdiffstats
path: root/modules/ssl/ssl_util_stapling.c
diff options
context:
space:
mode:
authorSander Temme <sctemme@apache.org>2009-11-03 19:19:33 +0100
committerSander Temme <sctemme@apache.org>2009-11-03 19:19:33 +0100
commit8abd8d66b331d74d7d044c52d3e72bfae43281e4 (patch)
treeadd4f76d515b97a0fa94cc22e5fe9093be688ac7 /modules/ssl/ssl_util_stapling.c
parentFix remaining doxygen warnings. "make dox" is now clean with doxygen (diff)
downloadapache2-8abd8d66b331d74d7d044c52d3e72bfae43281e4.tar.xz
apache2-8abd8d66b331d74d7d044c52d3e72bfae43281e4.zip
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
Diffstat (limited to 'modules/ssl/ssl_util_stapling.c')
-rw-r--r--modules/ssl/ssl_util_stapling.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ssl/ssl_util_stapling.c b/modules/ssl/ssl_util_stapling.c
index e622f72189..fccd532ec7 100644
--- a/modules/ssl/ssl_util_stapling.c
+++ b/modules/ssl/ssl_util_stapling.c
@@ -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");