summaryrefslogtreecommitdiff
path: root/crypto/bn/bn_add.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_add.c
parent3ffbe008083dcaad282622e8e4be69bb29bc6315 (diff)
downloadopenssl-new-06cf881a3a10d5af3c1255c08cfd0c6ddb5f1cc3.tar.gz
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_add.c')
-rw-r--r--crypto/bn/bn_add.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/crypto/bn/bn_add.c b/crypto/bn/bn_add.c
index f569a7efde..e09451d88b 100644
--- a/crypto/bn/bn_add.c
+++ b/crypto/bn/bn_add.c
@@ -222,28 +222,7 @@ int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
break;
}
}
-#if 0
memcpy(rp, ap, sizeof(*rp) * (max - i));
-#else
- if (rp != ap) {
- for (;;) {
- if (!dif--)
- break;
- rp[0] = ap[0];
- if (!dif--)
- break;
- rp[1] = ap[1];
- if (!dif--)
- break;
- rp[2] = ap[2];
- if (!dif--)
- break;
- rp[3] = ap[3];
- rp += 4;
- ap += 4;
- }
- }
-#endif
r->top = max;
r->neg = 0;