X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=h%2Fmd5.h;h=0a750befb66532c5607a0d4910530aa31904a00a;hp=e49ef4e054bad2ac9ca647e1f57b138c21869238;hb=a485ed478abbd599d8c9aab48934e7a26733ecb1;hpb=f480c03187724e54e5391ee61b810827da319a6c diff --git a/h/md5.h b/h/md5.h index e49ef4e..0a750be 100644 --- a/h/md5.h +++ b/h/md5.h @@ -25,7 +25,7 @@ * with C compiler flags. */ #ifndef PROTOTYPES -#define PROTOTYPES 0 +# define PROTOTYPES 0 #endif /* POINTER defines a generic pointer type */ @@ -38,13 +38,13 @@ typedef unsigned short int UINT2; typedef unsigned long int UINT4; /* PROTO_LIST is defined depending on how PROTOTYPES is defined above. -If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it - returns an empty list. + * If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it + * returns an empty list. */ #if PROTOTYPES -#define PROTO_LIST(list) list +# define PROTO_LIST(list) list #else -#define PROTO_LIST(list) () +# define PROTO_LIST(list) () #endif /* MD5.H - header file for MD5C.C @@ -74,12 +74,11 @@ documentation and/or software. /* MD5 context. */ typedef struct { - UINT4 state[4]; /* state (ABCD) */ - UINT4 count[2]; /* number of bits, modulo 2^64 (lsb first) */ - unsigned char buffer[64]; /* input buffer */ + UINT4 state[4]; /* state (ABCD) */ + UINT4 count[2]; /* number of bits, modulo 2^64 (lsb first) */ + unsigned char buffer[64]; /* input buffer */ } MD5_CTX; void MD5Init PROTO_LIST ((MD5_CTX *)); void MD5Update PROTO_LIST ((MD5_CTX *, unsigned char *, unsigned int)); void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *)); -