Annotation of parser3/src/targets/apache13/pa_md5c.c, revision 1.2
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)
6:
1.2 ! paf 7: $Id: pa_md5c.c,v 1.1 2002/06/21 13:14:34 paf Exp $
1.1 paf 8: */
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: