From 05132ed490ba156aa3000c5d352b70f774bb329c Mon Sep 17 00:00:00 2001 From: Neil Armstrong Date: Wed, 16 Mar 2022 15:40:46 +0100 Subject: [PATCH] md_alg is used in ecdsa_sign_wrap(), cleanup code Signed-off-by: Neil Armstrong --- library/pk_wrap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/library/pk_wrap.c b/library/pk_wrap.c index 4df2a2f11..663b72d88 100644 --- a/library/pk_wrap.c +++ b/library/pk_wrap.c @@ -870,7 +870,6 @@ static int ecdsa_sign_wrap( void *ctx_arg, mbedtls_md_type_t md_alg, size_t curve_bits; psa_ecc_family_t curve = mbedtls_ecc_group_to_psa( ctx->grp.id, &curve_bits ); - ((void) md_alg); /* PSA has its own RNG */ ((void) f_rng);