Diff for /parser3/src/lib/md5/pa_md5.h between versions 1.5.2.1 and 1.18

version 1.5.2.1, 2003/01/31 12:34:33 version 1.18, 2024/11/04 03:53:25
Line 3 Line 3
         Replaced ap_ to pa_ prefixes. linked into all targets but Apache-module target,          Replaced ap_ to pa_ prefixes. linked into all targets but Apache-module target,
         where linked targets/apache/pa_md5c.c stub instead.          where linked targets/apache/pa_md5c.c stub instead.
   
         Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com)          Copyright (c) 2001-2024 Art. Lebedev Studio (http://www.artlebedev.com)
 */  */
   
 /*  /*
Line 96 Line 96
 #ifndef PA_MD5_H  #ifndef PA_MD5_H
 #define PA_MD5_H  #define PA_MD5_H
   
 static const char* IDENT_MD5_H="$Date$";  #define IDENT_PA_MD5_H "$Id$"
   
 #define PA_API_EXPORT(rtype) rtype  
   
 #ifdef __cplusplus  #ifdef __cplusplus
 extern "C" {  extern "C" {
 #endif  #endif
   
 #ifndef APACHE_MD5_H  #include "pa_config_includes.h"
   
 /* MD5.H - header file for MD5C.C */  
   
 #define MD5_DIGESTSIZE 16  #define MD5_DIGESTSIZE 16
   
 /* UINT4 defines a four byte word */  /* UINT4 defines a four byte word */
 typedef unsigned int UINT4;  typedef uint32_t UINT4;
   
 #endif  
   
 /* MD5 context. */  /* MD5 context. */
 typedef struct {  typedef struct {
Line 129  typedef struct { Line 123  typedef struct {
 #define PA_MD5PW_ID "$apr1$"  #define PA_MD5PW_ID "$apr1$"
 #define PA_MD5PW_IDLEN 6  #define PA_MD5PW_IDLEN 6
   
 PA_API_EXPORT(void) pa_MD5Init(PA_MD5_CTX *context);  void pa_MD5Init(PA_MD5_CTX *context);
 PA_API_EXPORT(void) pa_MD5Update(PA_MD5_CTX *context, const unsigned char *input,  void pa_MD5Update(PA_MD5_CTX *context, const unsigned char *input, unsigned int inputLen);
                               unsigned int inputLen);  void pa_MD5Final(unsigned char digest[MD5_DIGESTSIZE], PA_MD5_CTX *context);
 PA_API_EXPORT(void) pa_MD5Final(unsigned char digest[MD5_DIGESTSIZE],  void pa_MD5Encode(const unsigned char *password, const unsigned char *salt, char *result, size_t nbytes);
                              PA_MD5_CTX *context);  void pa_to64(char *s, unsigned long v, int n);
 PA_API_EXPORT(void) pa_MD5Encode(const unsigned char *password,  
                               const unsigned char *salt,  
                               char *result, size_t nbytes);  
 PA_API_EXPORT(void) pa_to64(char *s, unsigned long v, int n);  
   
 #ifdef __cplusplus  #ifdef __cplusplus
 }  }

Removed from v.1.5.2.1  
changed lines
  Added in v.1.18


E-mail: