X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=crypto%2Feseqiv.c;h=3ca3b669d5d501ed491a1c70dc2694b30e9cb0e0;hb=7bae2c4898dd6e1e4a8276e5c428c55a7ff01bdf;hp=2a342c8e52b385b34f2602b0c8dfb4d465e9b573;hpb=a0f000ec9b61b99111757df138b11144236fc59b;p=safe%2Fjmp%2Flinux-2.6 diff --git a/crypto/eseqiv.c b/crypto/eseqiv.c index 2a342c8..3ca3b66 100644 --- a/crypto/eseqiv.c +++ b/crypto/eseqiv.c @@ -153,7 +153,8 @@ static int eseqiv_givencrypt(struct skcipher_givcrypt_request *req) if (err) goto out; - eseqiv_complete2(req); + if (giv != req->giv) + eseqiv_complete2(req); out: return err;