mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 23:25:20 +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:
committed by
Ali Mohammad Pur
parent
82915e1914
commit
8bb610b97a
@@ -48,8 +48,8 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
// Ensure the certificates are read out here.
|
||||
if (certificates.is_empty())
|
||||
certificates.append(TRY(find_certificates(serenity_resource_root)));
|
||||
DefaultRootCACertificates::set_default_certificate_paths(certificates.span());
|
||||
[[maybe_unused]] auto& certs = DefaultRootCACertificates::the();
|
||||
|
||||
TLS::WolfTLS::install_certificate_store_paths(move(certificates));
|
||||
|
||||
Core::EventLoop event_loop;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user