diff options
Diffstat (limited to 'src/md5util.h')
-rw-r--r-- | src/md5util.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/md5util.h b/src/md5util.h index 373d0b8..9755b0f 100644 --- a/src/md5util.h +++ b/src/md5util.h @@ -22,12 +22,13 @@ ***/ #include <sys/types.h> +#include <inttypes.h> -void fhex(const unsigned char *bin, int len, char *txt); +void fhex(const uint8_t *bin, size_t len, char *txt); #define fhex_md5(bin,txt) fhex((bin),16,(txt)) -int fdmd5(int fd, off_t l, char *md); +int fdmd5(int fd, off_t l, uint8_t md[]); -int fmd5(const char *fn, char *md); +int fmd5(const char *fn, uint8_t md[]); #endif |