summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_mod.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_mod.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_mod.c')
-rw-r--r--crypto/bn/bn_mod.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/crypto/bn/bn_mod.c b/crypto/bn/bn_mod.c
index ffbce890cf..e0ed47816a 100644
--- a/crypto/bn/bn_mod.c
+++ b/crypto/bn/bn_mod.c
@@ -116,14 +116,6 @@
#include "cryptlib.h"
#include "bn_lcl.h"
-#if 0 /* now just a #define */
-int BN_mod(BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx)
-{
- return (BN_div(NULL, rem, m, d, ctx));
- /* note that rem->neg == m->neg (unless the remainder is zero) */
-}
-#endif
-
int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx)
{
/*