projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
initramfs: break loop when decompression finishes
[platform/kernel/linux-rpi.git]
/
crypto
/
rsa.c
diff --git
a/crypto/rsa.c
b/crypto/rsa.c
index
c79613c
..
b9cd11f
100644
(file)
--- a/
crypto/rsa.c
+++ b/
crypto/rsa.c
@@
-220,6
+220,8
@@
static int rsa_check_exponent_fips(MPI e)
}
e_max = mpi_alloc(0);
+ if (!e_max)
+ return -ENOMEM;
mpi_set_bit(e_max, 256);
if (mpi_cmp(e, e_max) >= 0) {