--- parser3/src/lib/md5/pa_md5.h 2003/01/21 15:51:12 1.5 +++ parser3/src/lib/md5/pa_md5.h 2003/04/15 15:10:04 1.5.2.1.2.1 @@ -3,7 +3,7 @@ Replaced ap_ to pa_ prefixes. linked into all targets but Apache-module target, where linked targets/apache/pa_md5c.c stub instead. - Copyright (c) 2001, 2003 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com) */ /* @@ -96,7 +96,7 @@ #ifndef PA_MD5_H #define PA_MD5_H -static const char* IDENT_MD5_H="$Date: 2003/01/21 15:51:12 $"; +static const char* IDENT_MD5_H="$Date: 2003/04/15 15:10:04 $"; #define PA_API_EXPORT(rtype) rtype @@ -129,15 +129,15 @@ typedef struct { #define PA_MD5PW_ID "$apr1$" #define PA_MD5PW_IDLEN 6 -PA_API_EXPORT(void) pa_MD5Init(PA_MD5_CTX *context); -PA_API_EXPORT(void) pa_MD5Update(PA_MD5_CTX *context, const unsigned char *input, +PA_API_EXPORT(void) PA_MD5Init(PA_MD5_CTX *context); +PA_API_EXPORT(void) PA_MD5Update(PA_MD5_CTX *context, const unsigned char *input, unsigned int inputLen); -PA_API_EXPORT(void) pa_MD5Final(unsigned char digest[MD5_DIGESTSIZE], +PA_API_EXPORT(void) PA_MD5Final(unsigned char digest[MD5_DIGESTSIZE], PA_MD5_CTX *context); -PA_API_EXPORT(void) pa_MD5Encode(const unsigned char *password, +PA_API_EXPORT(void) PA_MD5Encode(const unsigned char *password, const unsigned char *salt, char *result, size_t nbytes); -PA_API_EXPORT(void) pa_to64(char *s, unsigned long v, int n); +PA_API_EXPORT(void) PA_to64(char *s, unsigned long v, int n); #ifdef __cplusplus }