diff options
author | Karel Zak | 2017-12-12 12:09:13 +0100 |
---|---|---|
committer | Karel Zak | 2017-12-12 12:09:13 +0100 |
commit | 856d856a98044194674f0e32e7a30ad78eac43a7 (patch) | |
tree | 1b75f879ef96a401e9cadde4826a1d3dd54244c2 | |
parent | lib/md5: use ul_/UL_ prefix (diff) | |
download | kernel-qcow2-util-linux-856d856a98044194674f0e32e7a30ad78eac43a7.tar.gz kernel-qcow2-util-linux-856d856a98044194674f0e32e7a30ad78eac43a7.tar.xz kernel-qcow2-util-linux-856d856a98044194674f0e32e7a30ad78eac43a7.zip |
mcookie: properly initialize hash
This stupid mistake has been introduced by commit 46ae163a8e5dc8457f8e2828eb53db8e610af275.
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r-- | misc-utils/mcookie.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc-utils/mcookie.c b/misc-utils/mcookie.c index fd4227a09..8598ac345 100644 --- a/misc-utils/mcookie.c +++ b/misc-utils/mcookie.c @@ -176,6 +176,7 @@ int main(int argc, char **argv) if (ctl.maxsz && ctl.nfiles == 0) warnx(_("--max-size ignored when used without --file")); + ul_MD5Init(&ctl.ctx); randomness_from_files(&ctl); free(ctl.files); |