From: Rich Salz <rsalz@akamai.com> Date: Sat, 5 Mar 2016 06:00:50 +0000 (-0500) Subject: GH616: Remove dead code X-Git-Tag: OpenSSL_1_1_0-pre4~347 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a4cb3bc8f205383ed087f83950c42a9049db7494;p=oweals%2Fopenssl.git GH616: Remove dead code Signed-off-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Emilia Käsper <emilia@openssl.org> --- 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: */