aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_messages.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tls/tls_messages.h')
-rw-r--r--src/lib/tls/tls_messages.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/tls/tls_messages.h b/src/lib/tls/tls_messages.h
index a616b0def..f3bf8fad2 100644
--- a/src/lib/tls/tls_messages.h
+++ b/src/lib/tls/tls_messages.h
@@ -149,6 +149,9 @@ class Client_Hello : public Handshake_Message
void update_hello_cookie(const Hello_Verify_Request& hello_verify);
+ std::set<Handshake_Extension_Type> extension_types() const
+ { return m_extensions.extension_types(); }
+
Client_Hello(Handshake_IO& io,
Handshake_Hash& hash,
Protocol_Version version,
@@ -251,6 +254,9 @@ class Server_Hello : public Handshake_Message
return false;
}
+ std::set<Handshake_Extension_Type> extension_types() const
+ { return m_extensions.extension_types(); }
+
Server_Hello(Handshake_IO& io,
Handshake_Hash& hash,
const Policy& policy,