From: Bodo Möller Date: Tue, 18 Sep 2007 16:35:28 +0000 (+0000) Subject: Make sure that BN_from_montgomery keeps the BIGNUMS in proper format X-Git-Tag: OpenSSL_0_9_8k^2~697 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=08b229e13fb68c80dc9dd3c4b73cf0debd39282e;p=oweals%2Fopenssl.git Make sure that BN_from_montgomery keeps the BIGNUMS in proper format --- diff --git a/crypto/bn/bn_mont.c b/crypto/bn/bn_mont.c index 5817538479..dcee538d84 100644 --- a/crypto/bn/bn_mont.c +++ b/crypto/bn/bn_mont.c @@ -297,6 +297,8 @@ static int BN_from_montgomery_word(BIGNUM *ret, BIGNUM *r, BN_MONT_CTX *mont) } for (ri+=4; itop=al;