From 6dce4bbe3645d8c57ddbec5143307d585c275f52 Mon Sep 17 00:00:00 2001 From: Steven Cooreman Date: Wed, 10 Feb 2021 17:07:20 +0100 Subject: [PATCH] Fix unused argument when compiling with MBEDTLS_ECDSA_SIGN_ALT Signed-off-by: Steven Cooreman --- library/ecdsa.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/ecdsa.c b/library/ecdsa.c index 355bd90f8..7dc8708a3 100644 --- a/library/ecdsa.c +++ b/library/ecdsa.c @@ -470,6 +470,8 @@ static int ecdsa_sign_det_restartable( mbedtls_ecp_group *grp, sign: #endif #if defined(MBEDTLS_ECDSA_SIGN_ALT) + (void) f_rng_blind; + (void) p_rng_blind; ret = mbedtls_ecdsa_sign( grp, r, s, d, buf, blen, mbedtls_hmac_drbg_random, p_rng ); #else