summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_recp.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2015-02-08 18:48:09 -0500
committerRich Salz <rsalz@openssl.org>2015-02-08 18:48:09 -0500
commit06cf881a3a10d5af3c1255c08cfd0c6ddb5f1cc3 (patch)
treed19b13704f85d00d42d0f010a90ecb362a638c85 /crypto/bn/bn_recp.c
parent3ffbe008083dcaad282622e8e4be69bb29bc6315 (diff)
Final (for me, for now) dead code cleanup
This is a final pass looking for '#if 0'/'#if 1' controls and removing the appropriate pieces. Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'crypto/bn/bn_recp.c')
-rw-r--r--crypto/bn/bn_recp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/bn/bn_recp.c b/crypto/bn/bn_recp.c
index db5660bd13..4f94408b5d 100644
--- a/crypto/bn/bn_recp.c
+++ b/crypto/bn/bn_recp.c
@@ -195,7 +195,6 @@ int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m,
goto err;
r->neg = 0;
-#if 1
j = 0;
while (BN_ucmp(r, &(recp->N)) >= 0) {
if (j++ > 2) {
@@ -207,7 +206,6 @@ int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m,
if (!BN_add_word(d, 1))
goto err;
}
-#endif
r->neg = BN_is_zero(r) ? 0 : m->neg;
d->neg = m->neg ^ recp->N.neg;