[openssl-commits] [openssl] OpenSSL_1_0_2-stable update
Paul I. Dale
pauli at openssl.org
Mon Oct 29 20:54:15 UTC 2018
The branch OpenSSL_1_0_2-stable has been updated
via 43e6a58d4991a451daf4891ff05a48735df871ac (commit)
from 896e8c5713b50ff2ef1478d5c6709874ce57cf05 (commit)
- Log -----------------------------------------------------------------
commit 43e6a58d4991a451daf4891ff05a48735df871ac
Author: Pauli <paul.dale at oracle.com>
Date: Mon Oct 29 08:24:22 2018 +1000
Merge DSA reallocation timing fix CVE-2018-0734.
Reviewed-by: Richard Levitte <levitte at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7513)
-----------------------------------------------------------------------
Summary of changes:
crypto/dsa/dsa_ossl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/dsa/dsa_ossl.c b/crypto/dsa/dsa_ossl.c
index 2dcfede..100e269 100644
--- a/crypto/dsa/dsa_ossl.c
+++ b/crypto/dsa/dsa_ossl.c
@@ -279,7 +279,7 @@ static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp,
goto err;
/* Preallocate space */
- q_bits = BN_num_bits(dsa->q);
+ q_bits = BN_num_bits(dsa->q) + sizeof(dsa->q->d[0]) * 16;
if (!BN_set_bit(&k, q_bits)
|| !BN_set_bit(&l, q_bits)
|| !BN_set_bit(&m, q_bits))
More information about the openssl-commits
mailing list