summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2016-03-05 01:00:50 -0500
committerRich Salz <rsalz@openssl.org>2016-03-05 13:45:40 -0500
commita4cb3bc8f205383ed087f83950c42a9049db7494 (patch)
tree44fdc340339ae87aadb39aaf23e1f3d6d574052a
parent0c8734198d4282f6997965a03cd2e0ceaf207549 (diff)
GH616: Remove dead code
Signed-off-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Emilia Käsper <emilia@openssl.org>
-rw-r--r--crypto/ec/ec_mult.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/ec/ec_mult.c b/crypto/ec/ec_mult.c
index 7e1418cf80..70c9791f8b 100644
--- a/crypto/ec/ec_mult.c
+++ b/crypto/ec/ec_mult.c
@@ -320,8 +320,6 @@ int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
wNAF[num] = tmp_wNAF;
wNAF[num + 1] = NULL;
wNAF_len[num] = tmp_len;
- if (tmp_len > max_len)
- max_len = tmp_len;
/*
* pre_comp->points starts with the points that we need here:
*/