LibTLS: Replace TLSv12 implementation with OpenSSL

This commit is contained in:
devgianlu 2025-02-14 09:49:33 +01:00 committed by Ali Mohammad Pur
commit 7a38a3e994
Notes: github-actions[bot] 2025-02-17 18:53:51 +00:00
15 changed files with 182 additions and 4709 deletions

View file

@ -2,12 +2,6 @@ add_cxx_compile_options(-Wvla)
set(SOURCES
DefaultRootCACertificates.cpp
Handshake.cpp
HandshakeCertificate.cpp
HandshakeClient.cpp
HandshakeServer.cpp
Record.cpp
Socket.cpp
TLSv12.cpp
)
@ -15,3 +9,6 @@ serenity_lib(LibTLS tls)
target_link_libraries(LibTLS PRIVATE LibCore LibCrypto LibFileSystem)
include(ca_certificates_data)
find_package(OpenSSL REQUIRED)
target_link_libraries(LibTLS PUBLIC OpenSSL::SSL)