summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_recp.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2000-02-25 00:14:50 +0000
committerUlf Möller <ulf@openssl.org>2000-02-25 00:14:50 +0000
commit766d78c8f5a85205a44aaf6182ed337b981f824b (patch)
treed943bcdb35bd7814b503ada216efa9538280b310 /crypto/bn/bn_recp.c
parentc04949e97877c7e9e362ab3022b2e7d4988b3e37 (diff)
divide the correct number...
Diffstat (limited to 'crypto/bn/bn_recp.c')
-rw-r--r--crypto/bn/bn_recp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/bn_recp.c b/crypto/bn/bn_recp.c
index bc0787d75a..20a6da4efd 100644
--- a/crypto/bn/bn_recp.c
+++ b/crypto/bn/bn_recp.c
@@ -197,7 +197,7 @@ int BN_div_recp(BIGNUM *dv, BIGNUM *rem, BIGNUM *m, BN_RECP_CTX *recp,
5383BF622A20B17E1BAA999336988B82B93F5FB77B55B4B68
9412000000000031 / 298EB5957DBFB8CBB2CC2A9F789D2B5
fails, for example. */
- ret=BN_div(dv,rem,a,&(recp->N),ctx);
+ ret=BN_div(dv,rem,m,&(recp->N),ctx);
#else
BNerr(BN_F_BN_MOD_MUL_RECIPROCAL,BN_R_BAD_RECIPROCAL);
#endif