sha256: fix verify failure
authorJens Axboe <axboe@fb.com>
Fri, 16 Jan 2015 20:12:53 +0000 (21:12 +0100)
committerJens Axboe <axboe@fb.com>
Fri, 16 Jan 2015 20:12:53 +0000 (21:12 +0100)
commit017052b628ae0cef4214ea624413149fb6e87550
treebe122fc0653fb8872afde6dc81c96f16e5ae6d47
parentdef0009508f0f3c763c4de5e0b62388b42544faf
sha256: fix verify failure

After the checksumming update, it's required that we call the
_final() to get consistent checksums between data generation
and data verification. Seems to only affect sha256, but we should
do it for sha1 and md5 too.

Fixes: f99d67f932ab
Signed-off-by: Jens Axboe <axboe@fb.com>
verify.c