|
@@ -45099,8 +45099,8 @@ static int test_wolfSSL_cert_cb_dyn_ciphers_certCB(WOLFSSL* ssl, void* arg)
|
|
|
haveECC = 0;
|
|
|
}
|
|
|
for (idx = 0; idx < hashSigAlgoSz; idx += 2) {
|
|
|
- int hashAlgo;
|
|
|
- int sigAlgo;
|
|
|
+ int hashAlgo = 0;
|
|
|
+ int sigAlgo = 0;
|
|
|
|
|
|
if (wolfSSL_get_sigalg_info(hashSigAlgo[idx+0], hashSigAlgo[idx+1],
|
|
|
&hashAlgo, &sigAlgo) != 0)
|
|
@@ -45313,8 +45313,8 @@ static int test_wolfSSL_sigalg_info(void)
|
|
|
|
|
|
InitSuitesHashSigAlgo_ex2(hashSigAlgo, allSigAlgs, 1, 0xFFFFFFFF, &len);
|
|
|
for (idx = 0; idx < len; idx += 2) {
|
|
|
- int hashAlgo;
|
|
|
- int sigAlgo;
|
|
|
+ int hashAlgo = 0;
|
|
|
+ int sigAlgo = 0;
|
|
|
|
|
|
ExpectIntEQ(wolfSSL_get_sigalg_info(hashSigAlgo[idx+0],
|
|
|
hashSigAlgo[idx+1], &hashAlgo, &sigAlgo), 0);
|
|
@@ -45326,8 +45326,8 @@ static int test_wolfSSL_sigalg_info(void)
|
|
|
InitSuitesHashSigAlgo_ex2(hashSigAlgo, allSigAlgs | SIG_ANON, 1,
|
|
|
0xFFFFFFFF, &len);
|
|
|
for (idx = 0; idx < len; idx += 2) {
|
|
|
- int hashAlgo;
|
|
|
- int sigAlgo;
|
|
|
+ int hashAlgo = 0;
|
|
|
+ int sigAlgo = 0;
|
|
|
|
|
|
ExpectIntEQ(wolfSSL_get_sigalg_info(hashSigAlgo[idx+0],
|
|
|
hashSigAlgo[idx+1], &hashAlgo, &sigAlgo), 0);
|