Annotation of parser3/src/targets/apache13/pa_md5c.c, revision 1.1
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:
! 7: $Id: mod_parser3.C,v 1.23 2002/06/20 13:39:57 paf Exp $
! 8: */
! 9:
! 10: #include "pa_md5.h"
! 11:
! 12: #include "ap_config.h"
! 13: #include "ap_md5.h"
! 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: