1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:07:34 +00:00

LibTLS: Refactor CA loading into central function

This commit is contained in:
Fabian Dellwing 2023-03-27 19:28:27 +02:00 committed by Andrew Kaster
parent 924758c6f8
commit 459dee1f86
3 changed files with 20 additions and 52 deletions

View file

@ -137,7 +137,7 @@ public:
Vector<Certificate> const& certificates() const { return m_ca_certificates; }
void reload_certificates(ByteBuffer&);
ErrorOr<Vector<Certificate>> reload_certificates(ByteBuffer&);
static DefaultRootCACertificates& the() { return s_the; }