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

LibTLS: Update HandshakeType value names to match IANA registry values

This commit is contained in:
stelar7 2023-04-14 00:03:39 +02:00 committed by Sam Atkins
parent 611a235a52
commit c30ee1b89b
5 changed files with 51 additions and 34 deletions

View file

@ -113,20 +113,6 @@ enum class Error : i8 {
OutOfMemory = -23,
};
enum HandshakeType {
HelloRequest = 0x00,
ClientHello = 0x01,
ServerHello = 0x02,
HelloVerifyRequest = 0x03,
CertificateMessage = 0x0b,
ServerKeyExchange = 0x0c,
CertificateRequest = 0x0d,
ServerHelloDone = 0x0e,
CertificateVerify = 0x0f,
ClientKeyExchange = 0x10,
Finished = 0x14
};
enum class HandshakeExtension : u16 {
ServerName = 0x00,
EllipticCurves = 0x0a,