The third parameter to SHA_Update and SHA1_Update is a "size_t", not a

"unsigned int".
This commit is contained in:
cperciva 2005-03-09 16:22:21 +00:00
parent 6c5113336f
commit 0f8b638e68

View File

@ -36,7 +36,7 @@
.Ft void .Ft void
.Fn SHA_Init "SHA_CTX *context" .Fn SHA_Init "SHA_CTX *context"
.Ft void .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 .Ft void
.Fn SHA_Final "unsigned char digest[20]" "SHA_CTX *context" .Fn SHA_Final "unsigned char digest[20]" "SHA_CTX *context"
.Ft "char *" .Ft "char *"
@ -50,7 +50,7 @@
.Ft void .Ft void
.Fn SHA1_Init "SHA_CTX *context" .Fn SHA1_Init "SHA_CTX *context"
.Ft void .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 .Ft void
.Fn SHA1_Final "unsigned char digest[20]" "SHA_CTX *context" .Fn SHA1_Final "unsigned char digest[20]" "SHA_CTX *context"
.Ft "char *" .Ft "char *"