From: Bodo Möller Date: Thu, 13 Oct 2011 14:29:59 +0000 (+0000) Subject: Oops - ectest.c finds further problems beyond those exposed by bntext.c X-Git-Tag: OpenSSL-fips-2_0-rc1~65 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4f2015742d4390bf9b445408b1fa1b9fc168ead8;p=oweals%2Fopenssl.git Oops - ectest.c finds further problems beyond those exposed by bntext.c --- diff --git a/crypto/bn/bn_gf2m.c b/crypto/bn/bn_gf2m.c index 2cd93ddc76..ee7a358c69 100644 --- a/crypto/bn/bn_gf2m.c +++ b/crypto/bn/bn_gf2m.c @@ -646,6 +646,8 @@ int BN_GF2m_mod_inv(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx) err: #ifdef BN_DEBUG /* BN_CTX_end would complain about the expanded form */ bn_correct_top(c); + bn_correct_top(u); + bn_correct_top(v); #endif BN_CTX_end(ctx); return ret;