From d1e7d1d96cbec34a44449e19433b5fe7d748e06a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Thu, 19 Apr 2007 14:45:57 +0000 Subject: [PATCH] don't violate the bn_check_top assertion in BN_mod_inverse_no_branch() --- crypto/bn/bn_div.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/bn/bn_div.c b/crypto/bn/bn_div.c index 9addaf158f..257fe0ce01 100644 --- a/crypto/bn/bn_div.c +++ b/crypto/bn/bn_div.c @@ -618,6 +618,7 @@ X) -> 0x%08X\n", rm->neg = neg; bn_check_top(rm); } + bn_correct_top(res); BN_CTX_end(ctx); return(1); err: -- 2.25.1