Changeset 2165
- Timestamp:
- 04/29/2008 09:01:00 PM (2 weeks ago)
- Files:
-
- branches/lighttpd-1.4.x/src/connections.c (modified) (1 diff)
- branches/lighttpd-1.4.x/src/md5.c (modified) (4 diffs)
- branches/lighttpd-1.4.x/src/md5.h (modified) (1 diff)
- branches/lighttpd-1.4.x/src/mod_webdav.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/lighttpd-1.4.x/src/connections.c
r2154 r2165 301 301 return 0; 302 302 #else 303 UNUSED(srv); 304 UNUSED(con); 303 305 return -1; 304 306 #endif branches/lighttpd-1.4.x/src/md5.c
r1371 r2165 53 53 #define S44 21 54 54 55 static void MD5Transform (UINT4 [4], unsigned char [64]);55 static void MD5Transform (UINT4 [4], const unsigned char [64]); 56 56 static void Encode (unsigned char *, UINT4 *, unsigned int); 57 static void Decode (UINT4 *, unsigned char *, unsigned int);57 static void Decode (UINT4 *, const unsigned char *, unsigned int); 58 58 59 59 #ifdef HAVE_MEMCPY … … 127 127 context. 128 128 */ 129 void MD5_Update (context, input, inputLen)129 void MD5_Update (context, _input, inputLen) 130 130 MD5_CTX *context; /* context */ 131 unsigned char *input; /* input block */131 const void *_input; /* input block */ 132 132 unsigned int inputLen; /* length of input block */ 133 133 { 134 134 unsigned int i, ndx, partLen; 135 const unsigned char *input = (const unsigned char*) _input; 135 136 136 137 /* Compute number of bytes mod 64 */ … … 201 202 static void MD5Transform (state, block) 202 203 UINT4 state[4]; 203 unsigned char block[64];204 const unsigned char block[64]; 204 205 { 205 206 UINT4 a = state[0], b = state[1], c = state[2], d = state[3], x[16]; … … 314 315 static void Decode (output, input, len) 315 316 UINT4 *output; 316 unsigned char *input;317 const unsigned char *input; 317 318 unsigned int len; 318 319 { branches/lighttpd-1.4.x/src/md5.h
r1371 r2165 43 43 44 44 void MD5_Init (MD5_CTX *); 45 void MD5_Update (MD5_CTX *, unsigned char*, unsigned int);45 void MD5_Update (MD5_CTX *, const void *, unsigned int); 46 46 void MD5_Final (unsigned char [16], MD5_CTX *); 47 47 branches/lighttpd-1.4.x/src/mod_webdav.c
r2160 r2165 571 571 } 572 572 } 573 #else 574 UNUSED(p), 573 575 #endif 574 576 } … … 731 733 } 732 734 } 735 #else 736 UNUSED(p); 733 737 #endif 734 738 return status;

