httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-2.0/modules/ssl ssl_engine_init.c
Date Thu, 28 Feb 2002 05:22:57 GMT
dougm       02/02/27 21:22:57

  Modified:    modules/ssl ssl_engine_init.c
  Log:
  move SSL_load_client_CA_file() comment to where we moved the call to it
  
  Revision  Changes    Path
  1.39      +6 -6      httpd-2.0/modules/ssl/ssl_engine_init.c
  
  Index: ssl_engine_init.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_engine_init.c,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- ssl_engine_init.c	28 Feb 2002 05:17:03 -0000	1.38
  +++ ssl_engine_init.c	28 Feb 2002 05:22:56 -0000	1.39
  @@ -863,6 +863,12 @@
                   "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);
  @@ -893,12 +899,6 @@
        * entries get added in sorted order.
        */
       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
  
  
  

Mime
View raw message