Commit c42d2544 authored by Doug MacEachern's avatar Doug MacEachern
Browse files

move SSL_load_client_CA_file() comment to where we moved the call to it


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@93635 13f79535-47bb-0310-9956-ffa450edef68
parent 39f2515b
Loading
Loading
Loading
Loading
+6 −6
Changes for ssl_engine_init.c: 6 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -863,6 +863,12 @@ static void ssl_init_PushCAList(STACK_OF(X509_NAME) *skCAList,
                "CA certificate: %s",
                X509_NAME_oneline(name, name_buf, sizeof(name_buf)));

        /*
         * note that SSL_load_client_CA_file() checks for duplicates,
         * but since we call it multiple times when reading a directory
         * we must also check for duplicates ourselves.
         */

        if (sk_X509_NAME_find(skCAList, name) < 0) {
            /* this will be freed when skCAList is */
            sk_X509_NAME_push(skCAList, name);
@@ -894,12 +900,6 @@ STACK_OF(X509_NAME) *ssl_init_FindCAList(server_rec *s, apr_pool_t *pp, const ch
     */
    skCAList = sk_X509_NAME_new(ssl_init_FindCAList_X509NameCmp);

    /*
     * note that SSL_load_client_CA_file() checks for duplicates,
     * but since we call it multiple times when reading a directory
     * we must also check for duplicates ourselves.
     */

    /*
     * Process CA certificate bundle file
     */