diff options
author | AnotherTest <ali.mpfard@gmail.com> | 2021-02-07 07:19:34 +0330 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-03 11:22:01 +0200 |
commit | d6d6750dd81be115c24f38f395c82e3c84d66aaa (patch) | |
tree | ea482d038ae3545fc3e6068e13e273898d6012e0 /Userland/Libraries/LibTLS/TLSv12.cpp | |
parent | 22d13d8b1abb7210fe4091c23eb0013e64e02d96 (diff) | |
download | serenity-d6d6750dd81be115c24f38f395c82e3c84d66aaa.zip |
LibTLS: Move TLS extensions to a separate 'extensions' struct
This has no behavioural effect.
Diffstat (limited to 'Userland/Libraries/LibTLS/TLSv12.cpp')
-rw-r--r-- | Userland/Libraries/LibTLS/TLSv12.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibTLS/TLSv12.cpp b/Userland/Libraries/LibTLS/TLSv12.cpp index 6b61234b30..7f0abb2e39 100644 --- a/Userland/Libraries/LibTLS/TLSv12.cpp +++ b/Userland/Libraries/LibTLS/TLSv12.cpp @@ -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 :("); |