* grub-core/commands/hashsum.c: Remove unneeded memset (zalloc already
covers it).
This commit is contained in:
parent
65ddb30016
commit
a1ef7718c9
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2013-11-12 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/commands/hashsum.c: Remove unneeded memset (zalloc already
|
||||||
|
covers it).
|
||||||
|
|
||||||
2013-11-12 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-11-12 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/commands/hashsum.c: Remove variable length arrays.
|
* grub-core/commands/hashsum.c: Remove variable length arrays.
|
||||||
|
|
|
@ -73,7 +73,6 @@ hash_file (grub_file_t file, const gcry_md_spec_t *hash, void *result)
|
||||||
if (!readbuf || !context)
|
if (!readbuf || !context)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
grub_memset (context, 0, sizeof (context));
|
|
||||||
hash->init (context);
|
hash->init (context);
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue