diff options
author | Rich Salz <rsalz@openssl.org> | 2015-02-06 10:54:20 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-02-06 10:54:20 -0500 |
commit | 6f91b017bbb7140f816721141ac156d1b828a6b3 (patch) | |
tree | e77196a270e92d461ab7193f0fdcf60d337918c7 /crypto/ec | |
parent | 9e9858d1cf28e39cfd214b5c508188d5016728fd (diff) |
Live code cleanup: remove #if 1 stuff
For code bracketed by "#if 1" then remove the alternate
"#else .. #endif" lines.
Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'crypto/ec')
-rw-r--r-- | crypto/ec/ec_mult.c | 3 | ||||
-rw-r--r-- | crypto/ec/ectest.c | 4 |
2 files changed, 0 insertions, 7 deletions
diff --git a/crypto/ec/ec_mult.c b/crypto/ec/ec_mult.c index fe87c418aa..16b37db671 100644 --- a/crypto/ec/ec_mult.c +++ b/crypto/ec/ec_mult.c @@ -496,11 +496,8 @@ int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, } } -#if 1 /* optional; EC_window_bits_for_scalar_size - * assumes we do this step */ if (!EC_POINTs_make_affine(group, num_val, val, ctx)) goto err; -#endif r_is_at_infinity = 1; diff --git a/crypto/ec/ectest.c b/crypto/ec/ectest.c index fc04f3b3e1..2290c8e241 100644 --- a/crypto/ec/ectest.c +++ b/crypto/ec/ectest.c @@ -239,11 +239,9 @@ static void prime_field_tests(void) size_t i, len; int k; -# if 1 /* optional */ ctx = BN_CTX_new(); if (!ctx) ABORT; -# endif p = BN_new(); a = BN_new(); @@ -945,11 +943,9 @@ static void char2_field_tests(void) size_t i, len; int k; -# if 1 /* optional */ ctx = BN_CTX_new(); if (!ctx) ABORT; -# endif p = BN_new(); a = BN_new(); |