mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:07:34 +00:00
LibTLS: Update HandshakeType value names to match IANA registry values
This commit is contained in:
parent
611a235a52
commit
c30ee1b89b
5 changed files with 51 additions and 34 deletions
|
@ -338,7 +338,7 @@ ByteBuffer TLSv12::build_certificate()
|
|||
}
|
||||
}
|
||||
|
||||
builder.append((u8)HandshakeType::CertificateMessage);
|
||||
builder.append((u8)HandshakeType::CERTIFICATE);
|
||||
|
||||
if (!total_certificate_size) {
|
||||
dbgln_if(TLS_DEBUG, "No certificates, sending empty certificate message");
|
||||
|
@ -370,7 +370,7 @@ ByteBuffer TLSv12::build_client_key_exchange()
|
|||
}
|
||||
|
||||
PacketBuilder builder { ContentType::HANDSHAKE, m_context.options.version };
|
||||
builder.append((u8)HandshakeType::ClientKeyExchange);
|
||||
builder.append((u8)HandshakeType::CLIENT_KEY_EXCHANGE_RESERVED);
|
||||
|
||||
switch (get_key_exchange_algorithm(m_context.cipher)) {
|
||||
case KeyExchangeAlgorithm::RSA:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue