Addressing PR comments

This commit is contained in:
Andras Fekete
2023-12-21 16:47:01 -05:00
parent 77e8a66ca3
commit b5592c4571

View File

@ -265,12 +265,12 @@ int wc_AriaVerify(byte* sig, word32 sigSz, byte* hash, word32 hashSz,
WOLFSSL_ENTER("AriaVerify");
*res = 0; /* Default to invalid signature */
if (sig == NULL || hash == NULL || res == NULL || key == NULL) {
return BAD_FUNC_ARG;
}
*res = 0; /* Default to invalid signature */
if (rv == MC_OK)
rv = wc_AriaInit();