mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 12:44:45 +02:00
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);
|
||||
AssertNull(file);
|
||||
|
||||
/* Empty and free up all error nodes */
|
||||
ERR_clear_error();
|
||||
|
||||
printf(resultFmt, passed);
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user