summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_recp.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/bn/bn_recp.c')
-rw-r--r--crypto/bn/bn_recp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/bn/bn_recp.c b/crypto/bn/bn_recp.c
index ea39677bc0..411dd60895 100644
--- a/crypto/bn/bn_recp.c
+++ b/crypto/bn/bn_recp.c
@@ -204,8 +204,8 @@ int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m,
ret=1;
err:
BN_CTX_end(ctx);
- if(dv) bn_fix_top(dv);
- if(rem) bn_fix_top(rem);
+ if(dv) bn_check_top(dv);
+ if(rem) bn_check_top(rem);
return(ret);
}