apr_pool_t *vpool;
int rv;
- /* Since the passed-inpool is likely to be the connection pool,
- * create a temporary pool to constrain memory use. */
+ /* Create a temporary pool to constrain memory use (the passed-in
+ * pool may be e.g. a connection pool). */
apr_pool_create(&vpool, pool);
rv = verify_ocsp_status(cert, ctx, c, sc, s, vpool);
#define APR_SHM_MAXSIZE (64 * 1024 * 1024)
#ifdef HAVE_OCSP
-/* Perform OCSP verification using the given context and
- * configuration. Returns non-zero on success or zero on failure. On
- * failure, the context error code is set. */
-int modssl_verify_ocsp(X509_STORE_CTX *ctx,
- SSLSrvConfigRec *sc, server_rec *s, conn_rec *c,
- apr_pool_t *pool);
+/* Perform OCSP validation of the current cert in the given context.
+ * Returns non-zero on success or zero on failure. On failure, the
+ * context error code is set. */
+int modssl_verify_ocsp(X509_STORE_CTX *ctx, SSLSrvConfigRec *sc,
+ server_rec *s, conn_rec *c, apr_pool_t *pool);
/* OCSP helper interface; dispatches the given OCSP request to the
* responder at the given URI. Returns the decoded OCSP response