summaryrefslogtreecommitdiffstats
path: root/sbin/md5
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2006-01-17 15:35:57 +0000
committerphk <phk@FreeBSD.org>2006-01-17 15:35:57 +0000
commit7a469c93bd0237caf5ea853e39af9aae0641ee9a (patch)
tree101d4be37f349e17f665a23b1aa8744624569973 /sbin/md5
parent0918b5cf25de7142e1ae5fd30873e51040664a87 (diff)
downloadFreeBSD-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.c2
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;
OpenPOWER on IntegriCloud