httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/ssl ssl_scache_shmcb.c
Date Sun, 17 Mar 2002 17:31:34 GMT
wrowe       02/03/17 09:31:34

  Modified:    modules/ssl ssl_scache_shmcb.c
  Log:
    Fix a signedness emit based on session_id_length [unsigned]
  
  Revision  Changes    Path
  1.8       +4 -4      httpd-2.0/modules/ssl/ssl_scache_shmcb.c
  
  Index: ssl_scache_shmcb.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_scache_shmcb.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ssl_scache_shmcb.c	15 Mar 2002 01:46:47 -0000	1.7
  +++ ssl_scache_shmcb.c	17 Mar 2002 17:31:34 -0000	1.8
  @@ -289,8 +289,8 @@
   static SHMCBIndex *shmcb_get_index(const SHMCBQueue *, unsigned int);
   static unsigned int shmcb_expire_division(server_rec *, SHMCBQueue *, SHMCBCache *);
   static BOOL shmcb_insert_encoded_session(server_rec *, SHMCBQueue *, SHMCBCache *, unsigned
char *, unsigned int, unsigned char *, time_t);
  -static SSL_SESSION *shmcb_lookup_session_id(server_rec *, SHMCBQueue *, SHMCBCache *, UCHAR
*, int);
  -static BOOL shmcb_remove_session_id(server_rec *, SHMCBQueue *, SHMCBCache *, UCHAR *,
int);
  +static SSL_SESSION *shmcb_lookup_session_id(server_rec *, SHMCBQueue *, SHMCBCache *, UCHAR
*, unsigned int);
  +static BOOL shmcb_remove_session_id(server_rec *, SHMCBQueue *, SHMCBCache *, UCHAR *,
unsigned int);
   
   /*
    * Data-alignment functions (a.k.a. avoidance tactics)
  @@ -1207,7 +1207,7 @@
   static SSL_SESSION *shmcb_lookup_session_id(
       server_rec *s, SHMCBQueue *queue,
       SHMCBCache *cache, UCHAR *id,
  -    int idlen)
  +    unsigned int idlen)
   {
       unsigned char tempasn[SSL_SESSION_MAX_DER];
       SHMCBIndex *idx;
  @@ -1272,7 +1272,7 @@
   
   static BOOL shmcb_remove_session_id(
       server_rec *s, SHMCBQueue *queue,
  -    SHMCBCache *cache, UCHAR *id, int idlen)
  +    SHMCBCache *cache, UCHAR *id, unsigned int idlen)
   {
       unsigned char tempasn[SSL_SESSION_MAX_DER];
       SSL_SESSION *pSession = NULL;
  
  
  

Mime
View raw message