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
commit b8f609099a
Notes: github-actions[bot] 2025-02-17 18:53:45 +00:00
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)