projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Detect symmetric crypto errors in PKCS7_decrypt.
[oweals/openssl.git]
/
crypto
/
bn
/
bn_mpi.c
diff --git
a/crypto/bn/bn_mpi.c
b/crypto/bn/bn_mpi.c
index 05fa9d1e9a5c578c3cfee1f2d35f5c854ab29669..a054d21aed6b9a0cb04b384320ddd2fc6d6bfcbf 100644
(file)
--- a/
crypto/bn/bn_mpi.c
+++ b/
crypto/bn/bn_mpi.c
@@
-124,6
+124,7
@@
BIGNUM *BN_mpi2bn(const unsigned char *d, int n, BIGNUM *a)
{
BN_clear_bit(a,BN_num_bits(a)-1);
}
+ bn_check_top(a);
return(a);
}