From 0d219ef1c328b4fec708945bebee446f09671626 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Sun, 10 Nov 2024 00:46:58 +0000 Subject: Garbage collect an unused variable --- lib/libcrypto/ec/ec_mult.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/libcrypto') diff --git a/lib/libcrypto/ec/ec_mult.c b/lib/libcrypto/ec/ec_mult.c index a0e97437bb6..a74c00d7dc8 100644 --- a/lib/libcrypto/ec/ec_mult.c +++ b/lib/libcrypto/ec/ec_mult.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_mult.c,v 1.31 2023/06/24 17:49:44 jsing Exp $ */ +/* $OpenBSD: ec_mult.c,v 1.32 2024/11/10 00:46:57 tb Exp $ */ /* * Originally written by Bodo Moeller and Nils Larsch for the OpenSSL project. */ @@ -236,7 +236,6 @@ ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, int r_is_at_infinity = 1; size_t *wsize = NULL; /* individual window sizes */ signed char **wNAF = NULL; /* individual wNAFs */ - signed char *tmp_wNAF = NULL; size_t *wNAF_len = NULL; size_t max_len = 0; size_t num_val; @@ -431,7 +430,6 @@ ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, EC_POINT_free(tmp); free(wsize); free(wNAF_len); - free(tmp_wNAF); if (wNAF != NULL) { signed char **w; -- cgit v1.2.3