mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:17:44 +00:00
test-crypto: Remove foo.response file created by testing (#4110)
Problem: - Test creates a file and leaves it in the source tree. Solution: - Remove the creation of the file since it is never checked.
This commit is contained in:
parent
bdf3baa8ac
commit
446a19ba51
1 changed files with 0 additions and 8 deletions
|
@ -2060,14 +2060,6 @@ static void tls_test_client_hello()
|
||||||
};
|
};
|
||||||
tls->on_tls_finished = [&] {
|
tls->on_tls_finished = [&] {
|
||||||
PASS;
|
PASS;
|
||||||
auto file = Core::File::open("foo.response", Core::IODevice::WriteOnly);
|
|
||||||
if (file.is_error()) {
|
|
||||||
printf("Can't write there, %s\n", file.error().characters());
|
|
||||||
loop.quit(2);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
file.value()->write(contents);
|
|
||||||
file.value()->close();
|
|
||||||
loop.quit(0);
|
loop.quit(0);
|
||||||
};
|
};
|
||||||
tls->on_tls_error = [&](TLS::AlertDescription) {
|
tls->on_tls_error = [&](TLS::AlertDescription) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue