Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Nettle
nettle
Commits
88a8b97d
Commit
88a8b97d
authored
Jun 17, 2001
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* 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
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sha1.c
sha1.c
+1
-1
No files found.
sha1.c
View file @
88a8b97d
...
@@ -260,7 +260,7 @@ sha1_block(struct sha1_ctx *ctx, const uint8_t *block)
...
@@ -260,7 +260,7 @@ sha1_block(struct sha1_ctx *ctx, const uint8_t *block)
void
void
sha1_update
(
struct
sha1_ctx
*
ctx
,
sha1_update
(
struct
sha1_ctx
*
ctx
,
u
int32_t
length
,
const
uint8_t
*
buffer
)
u
nsigned
length
,
const
uint8_t
*
buffer
)
{
{
if
(
ctx
->
index
)
if
(
ctx
->
index
)
{
/* Try to fill partial block */
{
/* Try to fill partial block */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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