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