From 2648a84f46449a8eca41fe0225c6aa17a24e048b Mon Sep 17 00:00:00 2001 From: jordan Date: Wed, 10 Jun 2026 01:11:35 -0500 Subject: [PATCH] hmac: appease multi-test for unused ret value. --- wolfcrypt/src/hmac.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/wolfcrypt/src/hmac.c b/wolfcrypt/src/hmac.c index 963c4ab2b5..12fbc5c670 100644 --- a/wolfcrypt/src/hmac.c +++ b/wolfcrypt/src/hmac.c @@ -1019,8 +1019,6 @@ int wc_HmacUpdate(Hmac* hmac, const byte* msg, word32 length) ret = wc_CryptoCb_Hmac(hmac, hmac->macType, msg, length, NULL); if (ret != WC_NO_ERR_TRACE(CRYPTOCB_UNAVAILABLE)) return ret; - /* fall-through when unavailable */ - ret = 0; /* reset error code */ } #endif #if defined(WOLFSSL_ASYNC_CRYPT) && defined(WC_ASYNC_ENABLE_HMAC)