ladybird/Userland/Libraries/LibTLS
Andrew Kaster 6266976e7a LibTLS: Move singleton for DefaultRootCACertificates out of line
This follows the pattern of every other singleton in the system.

Also, remove use of AK::Singleton in place of a function-scope static.
There are only three uses of that class outside of the Kernel, and all
the remaining uses are suspect. We need it in the Kernel because we
want to avoid global destructors to prevent nasty surprises about
expected lifetimes of objects. In Userland, we have normal thread-safe
statics available. 7d11edbe1 attempted to standardize the pattern, but
it seems like more uses of awkward singleton creation have crept in or
were missed back then.

As a bonus, this fixes a linker error on macOS with -g -O0 for Lagom
WebContent.
2023-07-26 05:34:38 +02:00
..
Certificate.cpp LibTLS: Rename parse_version to parse_certificate_version 2023-07-02 16:13:37 +02:00
Certificate.h LibTLS: Move singleton for DefaultRootCACertificates out of line 2023-07-26 05:34:38 +02:00
CipherSuite.h LibTLS: Move CipherSuite to Extensions.h 2023-04-14 12:32:04 +01:00
CMakeLists.txt LibTLS: Streamline certificate loading 2023-04-12 11:40:06 +03:30
Extensions.h LibTLS: Add RFC explanation of AlertDescription values 2023-04-14 12:32:04 +01:00
Handshake.cpp LibTLS: Show enum value instead of underlying value where possible 2023-04-14 12:32:04 +01:00
HandshakeCertificate.cpp LibTLS: Avoid unnecessary HashMap copies, improve const-correctness 2023-05-19 22:33:57 +02:00
HandshakeClient.cpp LibTLS: Move AlertDescription to Extensions.h 2023-04-14 12:32:04 +01:00
HandshakeServer.cpp LibTLS: Show enum value instead of underlying value where possible 2023-04-14 12:32:04 +01:00
Record.cpp LibTLS: Show enum value instead of underlying value where possible 2023-04-14 12:32:04 +01:00
Socket.cpp LibTLS: Remove unused methods 2023-07-03 23:29:28 +02:00
TLSPacketBuilder.h LibTLS: Rename Version to ProtocolVersion 2023-04-14 12:32:04 +01:00
TLSv12.cpp LibTLS: Move singleton for DefaultRootCACertificates out of line 2023-07-26 05:34:38 +02:00
TLSv12.h LibTLS: Remove unused methods 2023-07-03 23:29:28 +02:00