openssl/crypto/slh_dsa
Lidong Yan 066bfdc946 slh_dsa: fix leak in early return of slh_sign_internal()
In slh_sign_internal(), if calling PACKET_buf_init() failed, this
function return without free wpkt. Replace `return 0` with `goto err`
to free wpkt before return.

CLA: trivial
Signed-off-by: Lidong Yan <502024330056@smail.nju.edu.cn>

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/29041)
2025-11-10 21:16:52 +01:00
..
build.info SLH-DSA: Remove legacy ASN1 method tables for SLH-DSA. Update to use 2025-02-18 10:17:29 +01:00
slh_adrs.c Copyright year updates 2025-03-12 13:35:59 +00:00
slh_adrs.h Copyright year updates 2025-03-12 13:35:59 +00:00
slh_dsa.c slh_dsa: fix leak in early return of slh_sign_internal() 2025-11-10 21:16:52 +01:00
slh_dsa_hash_ctx.c Copyright year updates 2025-03-12 13:35:59 +00:00
slh_dsa_key.c slh-dsa: add a PCT for key import when in FIPS mode 2025-08-29 14:16:17 -04:00
slh_dsa_key.h Copyright year updates 2025-03-12 13:35:59 +00:00
slh_dsa_local.h Copyright year updates 2025-03-12 13:35:59 +00:00
slh_fors.c Copyright year updates 2025-03-12 13:35:59 +00:00
slh_hash.c crypto/slh_dsa/slh_hash.c: Add check for EVP_MD_get_size() 2025-07-07 16:20:31 +02:00
slh_hash.h Copyright year updates 2025-03-12 13:35:59 +00:00
slh_hypertree.c Copyright year updates 2025-03-12 13:35:59 +00:00
slh_params.c Copyright year updates 2025-03-12 13:35:59 +00:00
slh_params.h Copyright year updates 2025-03-12 13:35:59 +00:00
slh_wots.c libapps + libcrypto: Silence warnings on Win64 builds 2025-07-02 17:26:26 +02:00
slh_xmss.c Copyright year updates 2025-03-12 13:35:59 +00:00