mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibTLS: Move TLS extensions to a separate 'extensions' struct
This has no behavioural effect.
This commit is contained in:
parent
22d13d8b1a
commit
d6d6750dd8
Notes:
sideshowbarker
2024-07-18 20:53:30 +09:00
Author: https://github.com/alimpfard
Commit: d6d6750dd8
Pull-request: https://github.com/SerenityOS/serenity/pull/6085
4 changed files with 12 additions and 9 deletions
|
@ -667,13 +667,13 @@ void TLSv12::try_disambiguate_error() const
|
|||
switch ((AlertDescription)m_context.critical_error) {
|
||||
case AlertDescription::HandshakeFailure:
|
||||
if (!m_context.cipher_spec_set) {
|
||||
dbgln("- No cipher suite in common with {}", m_context.SNI);
|
||||
dbgln("- No cipher suite in common with {}", m_context.extensions.SNI);
|
||||
} else {
|
||||
dbgln("- Unknown internal issue");
|
||||
}
|
||||
break;
|
||||
case AlertDescription::InsufficientSecurity:
|
||||
dbgln("- No cipher suite in common with {} (the server is oh so secure)", m_context.SNI);
|
||||
dbgln("- No cipher suite in common with {} (the server is oh so secure)", m_context.extensions.SNI);
|
||||
break;
|
||||
case AlertDescription::ProtocolVersion:
|
||||
dbgln("- The server refused to negotiate with TLS 1.2 :(");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue