mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:27:35 +00:00
LibTLS: Support empty SNI data in ServerHello
According to RFC6066, empty extension_data for an SNI extension is absolutely one of the possibilities - so let's support this instead of spamming the debug log.
This commit is contained in:
parent
48eb58230b
commit
7d5995f08c
2 changed files with 72 additions and 61 deletions
|
@ -175,6 +175,10 @@ enum class HandshakeExtension : u16 {
|
|||
SignatureAlgorithms = 0x0d,
|
||||
};
|
||||
|
||||
enum class NameType : u8 {
|
||||
HostName = 0x00,
|
||||
};
|
||||
|
||||
enum class WritePacketStage {
|
||||
Initial = 0,
|
||||
ClientHandshake = 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue