mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-31 15:29:18 +01:00
Merge pull request #4221 from douzzer/sanitizer-fixes-20210719
misc sanitizer fixes etc
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user