From 4f2015742d4390bf9b445408b1fa1b9fc168ead8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Thu, 13 Oct 2011 14:29:59 +0000 Subject: [PATCH] Oops - ectest.c finds further problems beyond those exposed by bntext.c --- crypto/bn/bn_gf2m.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.25.1