Fix a panic in crypto hash calculations due to uninitialized variable.
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
76049e05fa
commit
edfe50ce40
|
@ -86,7 +86,7 @@ int digest_file_window(struct digest *d, char *filename,
|
|||
ulong len = 0;
|
||||
int fd, now, ret = 0;
|
||||
unsigned char *buf;
|
||||
int flags;
|
||||
int flags = 0;
|
||||
|
||||
d->init(d);
|
||||
|
||||
|
|
Loading…
Reference in New Issue