Revert "LibTLS+Everywhere: Switch to using WolfSSL"

This reverts commit 8bb610b97a.
Linking wolfSSL seems to cause more legal trouble than it's worth due to
it being GPLv2, so let's undo this for now.
This commit is contained in:
Ali Mohammad Pur 2024-07-06 23:12:39 +02:00 committed by Andrew Kaster
parent 8d593bcfeb
commit e0465b8939
Notes: sideshowbarker 2024-07-17 03:25:24 +09:00
28 changed files with 3977 additions and 197 deletions

View file

@ -31,7 +31,8 @@ ErrorOr<ByteString> find_certificates(StringView serenity_resource_root)
ErrorOr<int> service_main(int ipc_socket)
{
// Ensure the certificates are read out here.
TLS::WolfTLS::install_certificate_store_paths({ TRY(find_certificates(s_serenity_resource_root)) });
DefaultRootCACertificates::set_default_certificate_paths(Vector { TRY(find_certificates(s_serenity_resource_root)) });
[[maybe_unused]] auto& certs = DefaultRootCACertificates::the();
Core::EventLoop event_loop;