diff options
| author | Enji Cooper <ngie@FreeBSD.org> | 2025-03-06 17:49:50 +0000 | 
|---|---|---|
| committer | Enji Cooper <ngie@FreeBSD.org> | 2025-03-06 17:49:50 +0000 | 
| commit | 1c34280346af8284acdc0eae39496811d37df25d (patch) | |
| tree | dbe4218057c550b3be955f331fc1198c6cab5f3f /providers/implementations/signature/eddsa_sig.c | |
| parent | 108164cf95d9594884c2dcccba2691335e6f221b (diff) | |
Diffstat (limited to 'providers/implementations/signature/eddsa_sig.c')
| -rw-r--r-- | providers/implementations/signature/eddsa_sig.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/providers/implementations/signature/eddsa_sig.c b/providers/implementations/signature/eddsa_sig.c index c78f1fbb5fa6..9ec910af2527 100644 --- a/providers/implementations/signature/eddsa_sig.c +++ b/providers/implementations/signature/eddsa_sig.c @@ -1,5 +1,5 @@  /* - * Copyright 2020-2022 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 2020-2025 The OpenSSL Project Authors. All Rights Reserved.   *   * Licensed under the Apache License 2.0 (the "License").  You may not use   * this file except in compliance with the License.  You can obtain a copy @@ -133,6 +133,7 @@ static int eddsa_digest_signverify_init(void *vpeddsactx, const char *mdname,          /* Should never happen */          ERR_raise(ERR_LIB_PROV, ERR_R_INTERNAL_ERROR);          ossl_ecx_key_free(edkey); +        WPACKET_cleanup(&pkt);          return 0;      }      if (ret && WPACKET_finish(&pkt)) { | 
