clear error node queue after test case

This commit is contained in:
Jacob Barthelmeh
2018-02-14 13:55:43 -07:00
parent 4b5524b39a
commit c1b1fbaf7e

View File

@@ -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
} }