summaryrefslogtreecommitdiff
path: root/crypto/ec/wnaf.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/ec/wnaf.c')
-rw-r--r--crypto/ec/wnaf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/ec/wnaf.c b/crypto/ec/wnaf.c
index b86107d..2fed4a5 100644
--- a/crypto/ec/wnaf.c
+++ b/crypto/ec/wnaf.c
@@ -448,8 +448,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: */
val_sub[num] = pre_comp->points;
} else {