diff options
Diffstat (limited to 'md5.h')
-rwxr-xr-x | md5.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -62,6 +62,7 @@ typedef unsigned char md5_byte_t; /* 8-bit byte */ typedef unsigned int md5_word_t; /* 32-bit word */ +#define MD5_LEN 16 /* Define the state of the MD5 Algorithm. */ typedef struct md5_state_s { @@ -82,7 +83,7 @@ void md5_init(md5_state_t *pms); void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes); /* Finish the message and return the digest. */ -void md5_finish(md5_state_t *pms, md5_byte_t digest[16]); +void md5_finish(md5_state_t *pms, md5_byte_t digest[MD5_LEN]); #ifdef __cplusplus } /* end extern "C" */ |