mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +00:00
LibTLS: Remove unused DefaultRootCACertificates
The certificates are set inside `DefaultRootCACertificates` in some places, but no one reads them.
This commit is contained in:
parent
7a38a3e994
commit
b8f609099a
Notes:
github-actions[bot]
2025-02-17 18:53:45 +00:00
Author: https://github.com/devgianlu
Commit: b8f609099a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3571
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/alimpfard ✅
6 changed files with 0 additions and 148 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue