You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by do...@apache.org on 2002/03/01 06:24:06 UTC

cvs commit: httpd-2.0/modules/ssl mod_ssl.h ssl_engine_ds.c

dougm       02/02/28 21:24:06

  Modified:    modules/ssl mod_ssl.h ssl_engine_ds.c
  Log:
  s/const void/const char/g in ssl_asn1_table api
  pointed out by gstein
  
  Revision  Changes    Path
  1.66      +3 -3      httpd-2.0/modules/ssl/mod_ssl.h
  
  Index: mod_ssl.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/mod_ssl.h,v
  retrieving revision 1.65
  retrieving revision 1.66
  diff -u -r1.65 -r1.66
  --- mod_ssl.h	1 Mar 2002 04:35:17 -0000	1.65
  +++ mod_ssl.h	1 Mar 2002 05:24:06 -0000	1.66
  @@ -742,14 +742,14 @@
   void          ssl_ds_table_kill(ssl_ds_table *);
   
   unsigned char *ssl_asn1_table_set(apr_hash_t *table,
  -                                  const void *key,
  +                                  const char *key,
                                     long int length);
   
   ssl_asn1_t *ssl_asn1_table_get(apr_hash_t *table,
  -                               const void *key);
  +                               const char *key);
   
   void ssl_asn1_table_unset(apr_hash_t *table,
  -                          const void *key);
  +                          const char *key);
   
   /*  Mutex Support  */
   int          ssl_mutex_init(server_rec *, apr_pool_t *);
  
  
  
  1.12      +3 -3      httpd-2.0/modules/ssl/ssl_engine_ds.c
  
  Index: ssl_engine_ds.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_engine_ds.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ssl_engine_ds.c	28 Feb 2002 19:11:31 -0000	1.11
  +++ ssl_engine_ds.c	1 Mar 2002 05:24:06 -0000	1.12
  @@ -201,7 +201,7 @@
    * we do not leak the malloc-ed data.
    */
   unsigned char *ssl_asn1_table_set(apr_hash_t *table,
  -                                  const void *key,
  +                                  const char *key,
                                     long int length)
   {
       apr_ssize_t klen = strlen(key);
  @@ -235,13 +235,13 @@
   }
   
   ssl_asn1_t *ssl_asn1_table_get(apr_hash_t *table,
  -                               const void *key)
  +                               const char *key)
   {
       return (ssl_asn1_t *)apr_hash_get(table, key, APR_HASH_KEY_STRING);
   }
   
   void ssl_asn1_table_unset(apr_hash_t *table,
  -                          const void *key)
  +                          const char *key)
   {
       apr_ssize_t klen = strlen(key);
       ssl_asn1_t *asn1 = apr_hash_get(table, key, klen);