diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2006-01-17 15:35:57 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2006-01-17 15:35:57 +0000 |
commit | 25a14196dd8e3f2483a0911237e5567986afae31 (patch) | |
tree | 101d4be37f349e17f665a23b1aa8744624569973 /lib/libmd/mdX.3 | |
parent | a1c10dcb4c58b6f8ea388bfd9448c1584e0cab4f (diff) | |
download | src-25a14196dd8e3f2483a0911237e5567986afae31.tar.gz src-25a14196dd8e3f2483a0911237e5567986afae31.zip |
Fix an 11 year old mistake: Let the hash functions take a void* instead
of unsigned char* argument.
Notes
Notes:
svn path=/head/; revision=154479
Diffstat (limited to 'lib/libmd/mdX.3')
-rw-r--r-- | lib/libmd/mdX.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libmd/mdX.3 b/lib/libmd/mdX.3 index edfbc8ff256c..c0567c5b11fe 100644 --- a/lib/libmd/mdX.3 +++ b/lib/libmd/mdX.3 @@ -29,7 +29,7 @@ .Ft void .Fn MDXInit "MDX_CTX *context" .Ft void -.Fn MDXUpdate "MDX_CTX *context" "const unsigned char *data" "unsigned int len" +.Fn MDXUpdate "MDX_CTX *context" "const void *data" "unsigned int len" .Ft void .Fn MDXPad "MDX_CTX *context" .Ft void @@ -41,7 +41,7 @@ .Ft "char *" .Fn MDXFileChunk "const char *filename" "char *buf" "off_t offset" "off_t length" .Ft "char *" -.Fn MDXData "const unsigned char *data" "unsigned int len" "char *buf" +.Fn MDXData "const void *data" "unsigned int len" "char *buf" .Sh DESCRIPTION The MDX functions calculate a 128-bit cryptographic checksum (digest) for any number of input bytes. |