forked from wolfSSL/wolfssl
One more time to quiet clang tidy
This commit is contained in:
@ -299,12 +299,14 @@ int wc_CmacFinalNoFree(Cmac* cmac, byte* out, word32* outSz)
|
||||
NULL);
|
||||
if (ret != WC_NO_ERR_TRACE(CRYPTOCB_UNAVAILABLE))
|
||||
return ret;
|
||||
|
||||
/* Clear CRYPTOCB_UNAVAILABLE return code */
|
||||
ret = 0;
|
||||
|
||||
/* fall-through when unavailable */
|
||||
}
|
||||
#endif
|
||||
if (ret == 0) {
|
||||
switch (cmac->type) {
|
||||
#if !defined(NO_AES) && defined(WOLFSSL_AES_DIRECT)
|
||||
case WC_CMAC_AES:
|
||||
@ -345,7 +347,7 @@ int wc_CmacFinalNoFree(Cmac* cmac, byte* out, word32* outSz)
|
||||
default :
|
||||
ret = BAD_FUNC_ARG;
|
||||
}
|
||||
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user