The third parameter to SHA_Update and SHA1_Update is a "size_t", not a
"unsigned int".
This commit is contained in:
parent
6c5113336f
commit
0f8b638e68
@ -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 *"
|
||||
|
Loading…
Reference in New Issue
Block a user