httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
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 GMT
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



Mime
View raw message