mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibTLS+Everywhere: Switch to using WolfSSL
This commit replaces all TLS connection code with wolfssl. The certificate parsing code has to remain for now, as wolfssl does not seem to have any exposed API for that.
This commit is contained in:
parent
82915e1914
commit
8bb610b97a
Notes:
sideshowbarker
2024-07-16 23:57:20 +09:00
Author: https://github.com/alimpfard
Commit: 8bb610b97a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/330
Reviewed-by: https://github.com/trflynn89 ✅
28 changed files with 197 additions and 3977 deletions
|
|
@ -31,8 +31,7 @@ ErrorOr<ByteString> find_certificates(StringView serenity_resource_root)
|
|||
ErrorOr<int> service_main(int ipc_socket)
|
||||
{
|
||||
// Ensure the certificates are read out here.
|
||||
DefaultRootCACertificates::set_default_certificate_paths(Vector { TRY(find_certificates(s_serenity_resource_root)) });
|
||||
[[maybe_unused]] auto& certs = DefaultRootCACertificates::the();
|
||||
TLS::WolfTLS::install_certificate_store_paths({ TRY(find_certificates(s_serenity_resource_root)) });
|
||||
|
||||
Core::EventLoop event_loop;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue