Oops - ectest.c finds further problems beyond those exposed by bntext.c

This commit is contained in:
Bodo Möller 2011-10-13 14:29:59 +00:00
parent 0a06ad76a1
commit 4f2015742d

View file

@ -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;