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

1.1       paf         1: /** @file
                      2:        Parser: stub to pass MD5 func calls to apache 1.3 core.
                      3: 
1.5       paf         4:        Copyright (c) 2001, 2003 ArtLebedev Group (http://www.artlebedev.com)
1.1       paf         5:        Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
1.3       paf         6: */
1.1       paf         7: 
1.5.6.1 ! paf         8: static const char* IDENT_MD5C_C="$Date: 2003/01/21 15:51:16 $";
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: 
1.5.6.1 ! paf        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: 
        !            21: void PA_MD5Encode(const unsigned char *password,
        !            22:                  const unsigned char *salt,
        !            23:                  char *result, size_t nbytes) { ap_MD5Encode(password, salt, result, nbytes); }
        !            24: void PA_to64(char *s, unsigned long v, int n) { ap_to64(s, v, n); }

E-mail: