]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* modules/ssl/ssl_private.h (modssl_pk_proxy_t): Update comment,
authorJoe Orton <jorton@apache.org>
Thu, 17 Dec 2020 12:40:45 +0000 (12:40 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 17 Dec 2020 12:40:45 +0000 (12:40 +0000)
  no functional change. [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1884551 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_private.h

index 3b11b04ecd9d61aa10b7511297588603bab6bb71..1fd6b7bb7217c71b6ad0be7f9eb98fbe720d7180 100644 (file)
@@ -656,10 +656,13 @@ typedef struct {
     const char  *cert_file;
     const char  *cert_path;
     const char  *ca_cert_file;
-    STACK_OF(X509_INFO) *certs; /* Contains End Entity certs */
-    STACK_OF(X509) **ca_certs; /* Contains ONLY chain certs for
-                                * each item in certs.
-                                * (ptr to array of ptrs) */
+    /* certs is a stack of configured cert, key pairs. */
+    STACK_OF(X509_INFO) *certs;
+    /* ca_certs contains ONLY chain certs for each item in certs.
+     * ca_certs[n] is a pointer to the (STACK_OF(X509) *) stack which
+     * holds the cert chain for the 'n'th cert in the certs stack, or
+     * NULL if no chain is configured. */
+    STACK_OF(X509) **ca_certs;
 } modssl_pk_proxy_t;
 
 /** stuff related to authentication that can also be per-dir */