Merge pull request #4221 from douzzer/sanitizer-fixes-20210719

misc sanitizer fixes etc
This commit is contained in:
JacobBarthelmeh
2021-07-21 00:40:09 +07:00
committed by GitHub
5 changed files with 26 additions and 18 deletions

View File

@@ -654,8 +654,7 @@ int wc_SrpComputeKey(Srp* srp, byte* clientPubKey, word32 clientPubKeySz,
if (!srp || !clientPubKey || clientPubKeySz == 0
|| !serverPubKey || serverPubKeySz == 0) {
r = BAD_FUNC_ARG;
goto out;
return BAD_FUNC_ARG;
}
#ifdef WOLFSSL_SMALL_STACK