--- parser3/src/lib/md5/pa_md5c.c 2003/01/21 15:51:12 1.6 +++ parser3/src/lib/md5/pa_md5c.c 2003/07/23 14:17:04 1.6.2.1.2.3 @@ -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) */ /* @@ -97,7 +97,7 @@ */ /* - * The pa_MD5Encode() routine uses much code obtained from the FreeBSD 3.0 + * The PA_MD5Encode() routine uses much code obtained from the FreeBSD 3.0 * MD5 crypt() function, which is licenced as follows: * ---------------------------------------------------------------------------- * "THE BEER-WARE LICENSE" (Revision 42): @@ -107,18 +107,11 @@ * ---------------------------------------------------------------------------- */ -static const char* IDENT_MD5_C="$Date: 2003/01/21 15:51:12 $"; +static const char* IDENT_MD5_C="$Date: 2003/07/23 14:17:04 $"; #include #include "pa_md5.h" -//#include "ap.h" -//#ifdef CHARSET_EBCDIC -//#include "ebcdic.h" -//#endif /*CHARSET_EBCDIC*/ -//#if HAVE_CRYPT_H -//#include -//#endif #define pa_pa_cpystrn(strDest, strSource, count) strncpy(strDest, strSource, count) @@ -438,7 +431,7 @@ PA_API_EXPORT(void) pa_to64(char *s, uns } } -PA_API_EXPORT(void) pa_MD5Encode(const unsigned char *pw, +PA_API_EXPORT(void) PA_MD5Encode(const unsigned char *pw, const unsigned char *salt, char *result, size_t nbytes) {