mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 13:20:52 +02:00
Add (void)ret after CRYPTOCB_UNAVAILABLE fall-through reset in _InitCmac_common to acknowledge intentional store.
This commit is contained in:
@@ -162,8 +162,9 @@ static int _InitCmac_common(Cmac* cmac, const byte* key, word32 keySz,
|
||||
if (ret != WC_NO_ERR_TRACE(CRYPTOCB_UNAVAILABLE)) {
|
||||
return ret;
|
||||
}
|
||||
/* fall-through when unavailable */
|
||||
/* fall-through when unavailable, reset ret for software path */
|
||||
ret = 0;
|
||||
(void)ret;
|
||||
}
|
||||
#else
|
||||
(void)devId;
|
||||
|
||||
Reference in New Issue
Block a user