LibTLS: Remove unused DefaultRootCACertificates

The certificates are set inside `DefaultRootCACertificates` in some
places, but no one reads them.
This commit is contained in:
devgianlu
2025-02-14 12:05:18 +01:00
committed by Ali Mohammad Pur
parent 7a38a3e994
commit b8f609099a
6 changed files with 0 additions and 148 deletions

View File

@@ -15,7 +15,6 @@
#include <LibFileSystem/FileSystem.h>
#include <LibIPC/SingleServer.h>
#include <LibMain/Main.h>
#include <LibTLS/DefaultRootCACertificates.h>
#include <LibTLS/TLSv12.h>
#include <RequestServer/ConnectionFromClient.h>
@@ -60,9 +59,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
else
RequestServer::g_default_certificate_path = certificates.first();
DefaultRootCACertificates::set_default_certificate_paths(certificates.span());
[[maybe_unused]] auto& certs = DefaultRootCACertificates::the();
Core::EventLoop event_loop;
#if defined(AK_OS_MACOS)