forked from wolfSSL/wolfssl
remove uint from test case and put variable declaration at top of scope
This commit is contained in:
@@ -34252,9 +34252,11 @@ static void test_wolfSSL_Tls13_Key_Logging_test(void)
|
||||
#endif
|
||||
|
||||
/* check if the keylog file exists */
|
||||
|
||||
{
|
||||
char buff[300] = {0};
|
||||
int found[4] = {0};
|
||||
int numfnd = 0;
|
||||
int i;
|
||||
|
||||
fp = XFOPEN("./MyKeyLog.txt", "r");
|
||||
|
||||
@@ -34283,12 +34285,12 @@ static void test_wolfSSL_Tls13_Key_Logging_test(void)
|
||||
}
|
||||
}
|
||||
XFCLOSE(fp);
|
||||
int numfnd = 0;
|
||||
for( uint i = 0; i < 4; i++) {
|
||||
for (i = 0; i < 4; i++) {
|
||||
if( found[i] != 0)
|
||||
numfnd++;
|
||||
}
|
||||
AssertIntEQ(numfnd, 4);
|
||||
}
|
||||
|
||||
printf(resultFmt, passed);
|
||||
|
||||
|
Reference in New Issue
Block a user