diff options
author | phk <phk@FreeBSD.org> | 2006-01-17 15:35:57 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2006-01-17 15:35:57 +0000 |
commit | 7a469c93bd0237caf5ea853e39af9aae0641ee9a (patch) | |
tree | 101d4be37f349e17f665a23b1aa8744624569973 /sbin/md5 | |
parent | 0918b5cf25de7142e1ae5fd30873e51040664a87 (diff) | |
download | FreeBSD-src-7a469c93bd0237caf5ea853e39af9aae0641ee9a.zip FreeBSD-src-7a469c93bd0237caf5ea853e39af9aae0641ee9a.tar.gz |
Fix an 11 year old mistake: Let the hash functions take a void* instead
of unsigned char* argument.
Diffstat (limited to 'sbin/md5')
-rw-r--r-- | sbin/md5/md5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/md5/md5.c b/sbin/md5/md5.c index 1423b16..fa853fb 100644 --- a/sbin/md5/md5.c +++ b/sbin/md5/md5.c @@ -61,7 +61,7 @@ typedef struct Algorithm_t { DIGEST_Init *Init; DIGEST_Update *Update; DIGEST_End *End; - char *(*Data)(const unsigned char *, unsigned int, char *); + char *(*Data)(const void *, unsigned int, char *); char *(*File)(const char *, char *); } Algorithm_t; |