Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
166e52d0
Commit
166e52d0
authored
Jan 09, 2002
by
Niels Möller
Browse files
(do_sha_digest): Don't call sha1_final and sha1_init.
Rev: src/sha.c:1.9
parent
e3bf9569
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sha.c
View file @
166e52d0
...
...
@@ -54,9 +54,7 @@ do_sha_digest(struct hash_instance *s,
{
CAST
(
sha_instance
,
self
,
s
);
sha1_final
(
&
self
->
ctx
);
sha1_digest
(
&
self
->
ctx
,
SHA1_DIGEST_SIZE
,
dst
);
sha1_init
(
&
self
->
ctx
);
}
static
struct
hash_instance
*
...
...
Write
Preview
Supports
Markdown
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