From: Bodo Möller Date: Thu, 19 Apr 2007 14:45:57 +0000 (+0000) Subject: don't violate the bn_check_top assertion in BN_mod_inverse_no_branch() X-Git-Tag: OpenSSL_0_9_8k^2~876 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d1e7d1d96cbec34a44449e19433b5fe7d748e06a;p=oweals%2Fopenssl.git don't violate the bn_check_top assertion in BN_mod_inverse_no_branch() --- 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: