diff --git a/crypto/bn/bn_div.c b/crypto/bn/bn_div.c index 9addaf158..257fe0ce0 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: