Skip to content
Snippets Groups Projects
Commit e7c4f03b authored by Linus Torvalds's avatar Linus Torvalds
Browse files
parents d9244b5d d315a0e0
No related branches found
No related tags found
No related merge requests found
......@@ -82,10 +82,11 @@ int crypto_hash_walk_done(struct crypto_hash_walk *walk, int err)
if (err)
return err;
walk->offset = 0;
if (nbytes)
if (nbytes) {
walk->offset = 0;
walk->pg++;
return hash_walk_next(walk);
}
if (!walk->total)
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment