summaryrefslogtreecommitdiff
path: root/Tests/LibTLS
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2023-02-08 21:08:01 +0100
committerLinus Groh <mail@linusgroh.de>2023-02-13 00:50:07 +0000
commitd43a7eae545cd699f301471bd0f82399174339c1 (patch)
treec0a55f768f845041c3aebed3f126d462155a799f /Tests/LibTLS
parent14951b92ca6160664ccb68c5e1b2d40133763e5f (diff)
downloadserenity-d43a7eae545cd699f301471bd0f82399174339c1.zip
LibCore: Rename `File` to `DeprecatedFile`
As usual, this removes many unused includes and moves used includes further down the chain.
Diffstat (limited to 'Tests/LibTLS')
-rw-r--r--Tests/LibTLS/TestTLSHandshake.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/LibTLS/TestTLSHandshake.cpp b/Tests/LibTLS/TestTLSHandshake.cpp
index 8f0a96e7cb..1878b6a425 100644
--- a/Tests/LibTLS/TestTLSHandshake.cpp
+++ b/Tests/LibTLS/TestTLSHandshake.cpp
@@ -6,8 +6,8 @@
#include <AK/Base64.h>
#include <LibCore/ConfigFile.h>
+#include <LibCore/DeprecatedFile.h>
#include <LibCore/EventLoop.h>
-#include <LibCore/File.h>
#include <LibCrypto/ASN1/ASN1.h>
#include <LibTLS/TLSv12.h>
#include <LibTest/TestCase.h>
@@ -27,11 +27,11 @@ DeprecatedString locate_ca_certs_file();
DeprecatedString locate_ca_certs_file()
{
- if (Core::File::exists(ca_certs_file)) {
+ if (Core::DeprecatedFile::exists(ca_certs_file)) {
return ca_certs_file;
}
auto on_target_path = DeprecatedString("/etc/ca_certs.ini");
- if (Core::File::exists(on_target_path)) {
+ if (Core::DeprecatedFile::exists(on_target_path)) {
return on_target_path;
}
return "";