Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130252
b: refs/heads/master
c: bac1b5c
h: refs/heads/master
v: v3
  • Loading branch information
Herbert Xu committed Jan 27, 2009
1 parent 2edabe6 commit dbd3a7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 29b37f42127f7da511560a40ea74f5047da40c13
refs/heads/master: bac1b5c4696f217afeac5b29874a337bc39da717
2 changes: 1 addition & 1 deletion trunk/crypto/blkcipher.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ int blkcipher_walk_done(struct blkcipher_desc *desc,
scatterwalk_done(&walk->in, 0, nbytes);
scatterwalk_done(&walk->out, 1, nbytes);

err:
walk->total = nbytes;
walk->nbytes = nbytes;

Expand All @@ -132,7 +133,6 @@ int blkcipher_walk_done(struct blkcipher_desc *desc,
return blkcipher_walk_next(desc, walk);
}

err:
if (walk->iv != desc->info)
memcpy(desc->info, walk->iv, crypto_blkcipher_ivsize(tfm));
if (walk->buffer != walk->page)
Expand Down

0 comments on commit dbd3a7f

Please sign in to comment.