Merge tag 'v6.2-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[sfrench/cifs-2.6.git] / crypto / ccm.c
index 6b815ece51c6a930dc472fa3624e85591beb64d5..30dbae72728f73d4eaab3778cb02aceff260df20 100644 (file)
@@ -218,7 +218,7 @@ static int crypto_ccm_auth(struct aead_request *req, struct scatterlist *plain,
                cryptlen += ilen;
        }
 
-       ahash_request_set_crypt(ahreq, plain, pctx->odata, cryptlen);
+       ahash_request_set_crypt(ahreq, plain, odata, cryptlen);
        err = crypto_ahash_finup(ahreq);
 out:
        return err;