aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_messages.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls/tls_messages.h')
-rw-r--r--src/tls/tls_messages.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/tls/tls_messages.h b/src/tls/tls_messages.h
index ed8073bda..94e17cb9b 100644
--- a/src/tls/tls_messages.h
+++ b/src/tls/tls_messages.h
@@ -79,9 +79,10 @@ class Client_Hello : public Handshake_Message
size_t fragment_size() const { return m_fragment_size; }
- bool supports_session_ticket() const { returnm m_supports_session_ticket; }
+ bool supports_session_ticket() const { return m_supports_session_ticket; }
- const MemoryRegion<byte> session_ticket() const { return m_session_ticket; }
+ const MemoryRegion<byte>& session_ticket() const
+ { return m_session_ticket; }
Client_Hello(Record_Writer& writer,
TLS_Handshake_Hash& hash,
@@ -123,6 +124,9 @@ class Client_Hello : public Handshake_Message
size_t m_fragment_size;
bool m_secure_renegotiation;
MemoryVector<byte> m_renegotiation_info;
+
+ bool m_supports_session_ticket;
+ MemoryVector<byte> m_session_ticket;
};
/**