aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_gf2m.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2011-10-13 14:29:59 +0000
committerBodo Möller <bodo@openssl.org>2011-10-13 14:29:59 +0000
commit4f2015742d4390bf9b445408b1fa1b9fc168ead8 (patch)
tree6551a9c5b0968a9e521de564278bdf4cd654ce0e /crypto/bn/bn_gf2m.c
parent0a06ad76a11d0952230a2a1f60c4112ff25255ce (diff)
downloadopenssl-4f2015742d4390bf9b445408b1fa1b9fc168ead8.tar.gz
Oops - ectest.c finds further problems beyond those exposed by bntext.c
Diffstat (limited to 'crypto/bn/bn_gf2m.c')
-rw-r--r--crypto/bn/bn_gf2m.c2
1 files changed, 2 insertions, 0 deletions
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;