From 810811da8a9efba335e0816a0208364b4d613f41 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Thu, 29 Nov 2007 16:14:47 +0000 Subject: [PATCH] * modules/ssl/ssl_engine_ocsp.c, modules/ssl/ssl_private.h: Comment tweaks, no functional change. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@599497 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ssl/ssl_engine_ocsp.c | 4 ++-- modules/ssl/ssl_private.h | 11 +++++------ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/modules/ssl/ssl_engine_ocsp.c b/modules/ssl/ssl_engine_ocsp.c index 718137d58d..042ad0341c 100644 --- a/modules/ssl/ssl_engine_ocsp.c +++ b/modules/ssl/ssl_engine_ocsp.c @@ -223,8 +223,8 @@ int modssl_verify_ocsp(X509_STORE_CTX *ctx, SSLSrvConfigRec *sc, 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); diff --git a/modules/ssl/ssl_private.h b/modules/ssl/ssl_private.h index 9761394758..3ef08f48a4 100644 --- a/modules/ssl/ssl_private.h +++ b/modules/ssl/ssl_private.h @@ -711,12 +711,11 @@ void ssl_var_log_config_register(apr_pool_t *p); #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 -- 2.40.0