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

LibTLS: Add references to RFC5246 for the verify procedure

This commit is contained in:
Michiel Visser 2022-02-22 13:48:52 +01:00 committed by Ali Mohammad Pur
parent d78813d902
commit 331092d25a
3 changed files with 8 additions and 0 deletions

View file

@ -179,6 +179,7 @@ void TLSv12::build_rsa_pre_master_secret(PacketBuilder& builder)
}
m_context.premaster_key = premaster_key_result.release_value();
// RFC5246 section 7.4.2: The sender's certificate MUST come first in the list.
auto& certificate = m_context.certificates.first();
if constexpr (TLS_DEBUG) {
dbgln("PreMaster secret");