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_pphrase.c
Date Wed, 13 Mar 2002 18:50:17 GMT
dougm       02/03/13 10:50:17

  Modified:    modules/ssl ssl_engine_pphrase.c
  Log:
  use ssl_asn1_table_keyfmt() function
  
  Revision  Changes    Path
  1.24      +4 -4      httpd-2.0/modules/ssl/ssl_engine_pphrase.c
  
  Index: ssl_engine_pphrase.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_engine_pphrase.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- ssl_engine_pphrase.c	13 Mar 2002 04:49:23 -0000	1.23
  +++ ssl_engine_pphrase.c	13 Mar 2002 18:50:17 -0000	1.24
  @@ -336,12 +336,12 @@
                    * are used to give a better idea as to what failed.
                    */
                   if (pkey_mtime) {
  -                    const char *key_types[] = {"RSA", "DSA", NULL};
  +                    const char *key_types[] = {"RSA", "DSA"};
                       int i;
   
  -                    for (i=0; key_types[i]; i++) {
  -                        char *key_id =
  -                            apr_psprintf(p, "%s:%s", cpVHostID, key_types[i]);
  +                    for (i=0; i < SSL_AIDX_MAX; i++) {
  +                        const char *key_id =
  +                            ssl_asn1_table_keyfmt(p, cpVHostID, i);
                           ssl_asn1_t *asn1 = 
                               ssl_asn1_table_get(mc->tPrivateKey, key_id);
                       
  
  
  

Mime
View raw message