From a4cb3bc8f205383ed087f83950c42a9049db7494 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Sat, 5 Mar 2016 01:00:50 -0500 Subject: [PATCH] GH616: Remove dead code MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Rich Salz Reviewed-by: Emilia Käsper --- crypto/ec/ec_mult.c | 2 -- 1 file changed, 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: */ -- 2.25.1