Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Brian Smith
nettle
Commits
88a8b97d
Commit
88a8b97d
authored
Jun 17, 2001
by
Niels Möller
Browse files
* sha1.c (sha1_update): Use unsigned for length.
Rev: src/nettle/sha1.c:1.2
parent
0122aa5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
sha1.c
View file @
88a8b97d
...
...
@@ -260,7 +260,7 @@ sha1_block(struct sha1_ctx *ctx, const uint8_t *block)
void
sha1_update
(
struct
sha1_ctx
*
ctx
,
u
int32_t
length
,
const
uint8_t
*
buffer
)
u
nsigned
length
,
const
uint8_t
*
buffer
)
{
if
(
ctx
->
index
)
{
/* Try to fill partial block */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment