diff options
author | tb <> | 2024-11-10 00:46:57 +0000 |
---|---|---|
committer | tb <> | 2024-11-10 00:46:57 +0000 |
commit | 2be16782db87a752c7a50f50631da0e90b77d5c3 (patch) | |
tree | da8b5b195d6e5b71a42ed1eb16bb92e7425a18e0 /src/lib | |
parent | 00b35208c83ec1d015bb83985f53e1e4cbbc0e70 (diff) | |
download | openbsd-2be16782db87a752c7a50f50631da0e90b77d5c3.tar.gz openbsd-2be16782db87a752c7a50f50631da0e90b77d5c3.tar.bz2 openbsd-2be16782db87a752c7a50f50631da0e90b77d5c3.zip |
Garbage collect an unused variable
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/ec/ec_mult.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ec_mult.c b/src/lib/libcrypto/ec/ec_mult.c index a0e97437bb..a74c00d7dc 100644 --- a/src/lib/libcrypto/ec/ec_mult.c +++ b/src/lib/libcrypto/ec/ec_mult.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_mult.c,v 1.31 2023/06/24 17:49:44 jsing Exp $ */ | 1 | /* $OpenBSD: ec_mult.c,v 1.32 2024/11/10 00:46:57 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Originally written by Bodo Moeller and Nils Larsch for the OpenSSL project. | 3 | * Originally written by Bodo Moeller and Nils Larsch for the OpenSSL project. |
4 | */ | 4 | */ |
@@ -236,7 +236,6 @@ ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, | |||
236 | int r_is_at_infinity = 1; | 236 | int r_is_at_infinity = 1; |
237 | size_t *wsize = NULL; /* individual window sizes */ | 237 | size_t *wsize = NULL; /* individual window sizes */ |
238 | signed char **wNAF = NULL; /* individual wNAFs */ | 238 | signed char **wNAF = NULL; /* individual wNAFs */ |
239 | signed char *tmp_wNAF = NULL; | ||
240 | size_t *wNAF_len = NULL; | 239 | size_t *wNAF_len = NULL; |
241 | size_t max_len = 0; | 240 | size_t max_len = 0; |
242 | size_t num_val; | 241 | size_t num_val; |
@@ -431,7 +430,6 @@ ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, | |||
431 | EC_POINT_free(tmp); | 430 | EC_POINT_free(tmp); |
432 | free(wsize); | 431 | free(wsize); |
433 | free(wNAF_len); | 432 | free(wNAF_len); |
434 | free(tmp_wNAF); | ||
435 | if (wNAF != NULL) { | 433 | if (wNAF != NULL) { |
436 | signed char **w; | 434 | signed char **w; |
437 | 435 | ||