mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +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
Notes:
sideshowbarker
2024-07-19 01:20:16 +09:00
Author: https://github.com/ldm5180 Commit: https://github.com/SerenityOS/serenity/commit/446a19ba514 Pull-request: https://github.com/SerenityOS/serenity/pull/4110
1 changed files with 0 additions and 8 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue