diff options
Diffstat (limited to 'src/tls/tls_messages.h')
-rw-r--r-- | src/tls/tls_messages.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/tls/tls_messages.h b/src/tls/tls_messages.h index 95c1ba0a0..d29e85f95 100644 --- a/src/tls/tls_messages.h +++ b/src/tls/tls_messages.h @@ -94,13 +94,7 @@ class Client_Hello : public Handshake_Message bool next_protocol = false); Client_Hello(const MemoryRegion<byte>& buf, - Handshake_Type type) - { - if(type == CLIENT_HELLO) - deserialize(buf); - else - deserialize_sslv2(buf); - } + Handshake_Type type); private: MemoryVector<byte> serialize() const; |