diff options
Diffstat (limited to 'src/lib/tls/tls_handshake_msg.h')
-rw-r--r-- | src/lib/tls/tls_handshake_msg.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/lib/tls/tls_handshake_msg.h b/src/lib/tls/tls_handshake_msg.h index c53f73a3c..f098e7e81 100644 --- a/src/lib/tls/tls_handshake_msg.h +++ b/src/lib/tls/tls_handshake_msg.h @@ -17,6 +17,9 @@ namespace Botan { namespace TLS { +class Handshake_IO; +class Handshake_Hash; + /** * TLS Handshake Message Base Class */ @@ -27,15 +30,16 @@ class BOTAN_DLL Handshake_Message { public: Handshake_Info(Handshake_IO& io, Handshake_Hash& hash) - : m_io(io), m_hash(hash) {}; + : m_io(io), m_hash(hash) {} - Handshake_IO& get_io() { return m_io; }; - Handshake_Hash& get_hash() {return m_hash; }; + Handshake_IO& get_io() { return m_io; } + Handshake_Hash& get_hash() {return m_hash; } private: Handshake_IO& m_io; Handshake_Hash& m_hash; }; + std::string type_string() const; virtual Handshake_Type type() const = 0; |