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:
Lenny Maiorani 2020-11-20 13:18:43 -07:00 committed by GitHub
parent bdf3baa8ac
commit 446a19ba51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: sideshowbarker 2024-07-19 01:20:16 +09:00

View file

@ -2060,14 +2060,6 @@ static void tls_test_client_hello()
};
tls->on_tls_finished = [&] {
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);
};
tls->on_tls_error = [&](TLS::AlertDescription) {