summaryrefslogtreecommitdiffstats
path: root/lib/libmd
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2005-03-09 16:22:21 +0000
committercperciva <cperciva@FreeBSD.org>2005-03-09 16:22:21 +0000
commit0f8b638e687cc8d10eadb97cff47b78936b9175c (patch)
treecd57c87d0b3365ebcdb4c1d81564174647559da8 /lib/libmd
parent6c5113336ff79645486d1496b2731b7faffa1d33 (diff)
downloadFreeBSD-src-0f8b638e687cc8d10eadb97cff47b78936b9175c.zip
FreeBSD-src-0f8b638e687cc8d10eadb97cff47b78936b9175c.tar.gz
The third parameter to SHA_Update and SHA1_Update is a "size_t", not a
"unsigned int".
Diffstat (limited to 'lib/libmd')
-rw-r--r--lib/libmd/sha.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libmd/sha.3 b/lib/libmd/sha.3
index 46937c8..69a1354 100644
--- a/lib/libmd/sha.3
+++ b/lib/libmd/sha.3
@@ -36,7 +36,7 @@
.Ft void
.Fn SHA_Init "SHA_CTX *context"
.Ft void
-.Fn SHA_Update "SHA_CTX *context" "const unsigned char *data" "unsigned int len"
+.Fn SHA_Update "SHA_CTX *context" "const unsigned char *data" "size_t len"
.Ft void
.Fn SHA_Final "unsigned char digest[20]" "SHA_CTX *context"
.Ft "char *"
@@ -50,7 +50,7 @@
.Ft void
.Fn SHA1_Init "SHA_CTX *context"
.Ft void
-.Fn SHA1_Update "SHA_CTX *context" "const unsigned char *data" "unsigned int len"
+.Fn SHA1_Update "SHA_CTX *context" "const unsigned char *data" "size_t len"
.Ft void
.Fn SHA1_Final "unsigned char digest[20]" "SHA_CTX *context"
.Ft "char *"
OpenPOWER on IntegriCloud