1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 10:01:13 +09:00

RequestServer+LibTLS: Allow applications to specify multiple root certs

This commit is contained in:
Andrew Kaster 2024-02-05 09:34:51 -07:00 committed by Andrew Kaster
parent 49467c6ec2
commit 080aa567a5
Notes: sideshowbarker 2024-07-16 22:22:13 +09:00
8 changed files with 41 additions and 26 deletions

View file

@ -34,6 +34,7 @@ ErrorOr<int> serenity_main(Main::Arguments)
TRY(Core::System::pledge("stdio inet accept unix rpath sendfd recvfd"));
// Ensure the certificates are read out here.
// FIXME: Allow specifying extra certificates on the command line, or in other configuration.
[[maybe_unused]] auto& certs = DefaultRootCACertificates::the();
Core::EventLoop event_loop;