summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2007-04-19 14:45:57 +0000
committerBodo Möller <bodo@openssl.org>2007-04-19 14:45:57 +0000
commitd1e7d1d96cbec34a44449e19433b5fe7d748e06a (patch)
tree4cb033ee29cd22e198f76f243c007fe2d23d8bef /crypto
parent18f547734e94d4192fa6422227c1686a2d8a914e (diff)
don't violate the bn_check_top assertion in BN_mod_inverse_no_branch()
Diffstat (limited to 'crypto')
-rw-r--r--crypto/bn/bn_div.c1
1 files changed, 1 insertions, 0 deletions
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: