projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'free-memory' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar...
[linux-2.6-microblaze.git]
/
crypto
/
ccm.c
diff --git
a/crypto/ccm.c
b/crypto/ccm.c
index
3e05499
..
1df8421
100644
(file)
--- a/
crypto/ccm.c
+++ b/
crypto/ccm.c
@@
-271,7
+271,8
@@
static int crypto_ccm_auth(struct aead_request *req, struct scatterlist *plain,
}
/* compute plaintext into mac */
- get_data_to_compute(cipher, pctx, plain, cryptlen);
+ if (cryptlen)
+ get_data_to_compute(cipher, pctx, plain, cryptlen);
out:
return err;