Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 75522 invoked from network); 29 Nov 2007 16:15:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Nov 2007 16:15:17 -0000 Received: (qmail 21971 invoked by uid 500); 29 Nov 2007 16:15:04 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 21911 invoked by uid 500); 29 Nov 2007 16:15:04 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 21900 invoked by uid 99); 29 Nov 2007 16:15:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2007 08:15:04 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2007 16:15:15 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 19E631A9832; Thu, 29 Nov 2007 08:14:54 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r599497 - in /httpd/httpd/trunk/modules/ssl: ssl_engine_ocsp.c ssl_private.h Date: Thu, 29 Nov 2007 16:14:53 -0000 To: cvs@httpd.apache.org From: jorton@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071129161454.19E631A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jorton Date: Thu Nov 29 08:14:47 2007 New Revision: 599497 URL: http://svn.apache.org/viewvc?rev=599497&view=rev Log: * modules/ssl/ssl_engine_ocsp.c, modules/ssl/ssl_private.h: Comment tweaks, no functional change. Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_ocsp.c httpd/httpd/trunk/modules/ssl/ssl_private.h Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_ocsp.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_ocsp.c?rev=599497&r1=599496&r2=599497&view=diff ============================================================================== --- httpd/httpd/trunk/modules/ssl/ssl_engine_ocsp.c (original) +++ httpd/httpd/trunk/modules/ssl/ssl_engine_ocsp.c Thu Nov 29 08:14:47 2007 @@ -223,8 +223,8 @@ 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); Modified: httpd/httpd/trunk/modules/ssl/ssl_private.h URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_private.h?rev=599497&r1=599496&r2=599497&view=diff ============================================================================== --- httpd/httpd/trunk/modules/ssl/ssl_private.h (original) +++ httpd/httpd/trunk/modules/ssl/ssl_private.h Thu Nov 29 08:14:47 2007 @@ -711,12 +711,11 @@ #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