mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 19:54:40 +02:00
fix Visual Studio warning, scan-build issue
This commit is contained in:
@@ -3009,6 +3009,7 @@ int rsa_test(void)
|
||||
if (!file) {
|
||||
err_sys("can't open ./certs/client-key.der, "
|
||||
"Please run from CyaSSL home dir", -40);
|
||||
free(tmp);
|
||||
return -40;
|
||||
}
|
||||
|
||||
|
@@ -649,7 +649,7 @@ static void InitSuitesHashSigAlgo(Suites* suites, int haveECDSAsig,
|
||||
#endif
|
||||
}
|
||||
|
||||
suites->hashSigAlgoSz = idx;
|
||||
suites->hashSigAlgoSz = (word16)idx;
|
||||
}
|
||||
|
||||
void InitSuites(Suites* suites, ProtocolVersion pv, byte haveRSA, byte havePSK,
|
||||
|
Reference in New Issue
Block a user