diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-11-10 00:46:58 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-11-10 00:46:58 +0000 |
commit | 0d219ef1c328b4fec708945bebee446f09671626 (patch) | |
tree | 0eb1152ee0cd566c0ef9859ac4bb0ce6de90ce7b /lib/libcrypto | |
parent | a4bd63374547388226dffdb965f8f0ab1ed2e637 (diff) |
Garbage collect an unused variable
Diffstat (limited to 'lib/libcrypto')
-rw-r--r-- | lib/libcrypto/ec/ec_mult.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; |