Annotation of parser3/src/targets/apache13/pa_md5c.c, revision 1.4

1.1       paf         1: /** @file
                      2:        Parser: stub to pass MD5 func calls to apache 1.3 core.
                      3: 
                      4:        Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com)
                      5:        Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
1.3       paf         6: */
1.1       paf         7: 
1.4     ! paf         8: static const char* IDENT_MD5C_C="$Date: pa_md5c.c,v 1.3 2002/08/01 11:26:52 paf Exp $";
1.1       paf         9: 
                     10: #include "ap_config.h"
                     11: #include "ap_md5.h"
1.2       paf        12: 
                     13: #include "pa_md5.h"
1.1       paf        14: 
                     15: void pa_MD5Init(PA_MD5_CTX *context) { ap_MD5Init((AP_MD5_CTX*)context); }
                     16: void pa_MD5Update(PA_MD5_CTX *context, const unsigned char *input,
                     17:                              unsigned int inputLen) { ap_MD5Update((AP_MD5_CTX *)context, input, inputLen); }
                     18: void pa_MD5Final(unsigned char digest[MD5_DIGESTSIZE],
                     19:                             PA_MD5_CTX *context) { ap_MD5Final(digest, (AP_MD5_CTX *)context); }
                     20: void pa_MD5Encode(const unsigned char *password,
                     21:                              const unsigned char *salt,
                     22:                              char *result, size_t nbytes) { ap_MD5Encode(password, salt, result, nbytes); }
                     23: void pa_to64(char *s, unsigned long v, int n) { ap_to64(s, v, n); }

E-mail: