Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
da932222
Commit
da932222
authored
Jan 22, 2008
by
Rafaël Carré
Browse files
gcry_md_read() returns a buffer which hold at least 20 bytes
parent
6cd172a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/misc/update.c
View file @
da932222
...
@@ -663,7 +663,6 @@ static uint8_t *hash_sha1_from_file( const char *psz_file,
...
@@ -663,7 +663,6 @@ static uint8_t *hash_sha1_from_file( const char *psz_file,
fclose
(
f
);
fclose
(
f
);
gcry_md_final
(
hd
);
gcry_md_final
(
hd
);
/* FIXME: is it always padded to 20 bytes ? */
return
(
(
uint8_t
*
)
gcry_md_read
(
hd
,
GCRY_MD_SHA1
)
);
return
(
(
uint8_t
*
)
gcry_md_read
(
hd
,
GCRY_MD_SHA1
)
);
}
}
...
...
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