--- sbbs/src/smblib/md5.h 2018/04/24 16:41:24 1.1 +++ sbbs/src/smblib/md5.h 2018/04/24 16:45:16 1.1.1.2 @@ -1,6 +1,6 @@ /* md5.h - header file for md5.c */ -/* $Id: md5.h,v 1.1 2018/04/24 16:41:24 root Exp $ */ +/* $Id: md5.h,v 1.1.1.2 2018/04/24 16:45:16 root Exp $ */ /* RSA Data Security, Inc., MD5 Message-Digest Algorithm */ @@ -33,20 +33,18 @@ documentation and/or software. #define H__MD5 #include /* size_t */ +#include /* uint32_t */ #define MD5_DIGEST_SIZE 16 -#ifndef UINT4 - typedef unsigned long UINT4; -#endif #ifndef BYTE typedef unsigned char BYTE; #endif typedef struct { - UINT4 state[4]; - UINT4 count[2]; + uint32_t state[4]; + uint32_t count[2]; BYTE buffer[64]; } MD5;