forked from wolfSSL/wolfssl
clear error node queue after test case
This commit is contained in:
@@ -15546,6 +15546,9 @@ static void test_wolfSSL_ERR_put_error(void)
|
|||||||
AssertIntEQ(ERR_get_error_line(&file, &line), 0);
|
AssertIntEQ(ERR_get_error_line(&file, &line), 0);
|
||||||
AssertNull(file);
|
AssertNull(file);
|
||||||
|
|
||||||
|
/* Empty and free up all error nodes */
|
||||||
|
ERR_clear_error();
|
||||||
|
|
||||||
printf(resultFmt, passed);
|
printf(resultFmt, passed);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user