aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/msg_client_hello.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tls/msg_client_hello.cpp')
-rw-r--r--src/lib/tls/msg_client_hello.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/tls/msg_client_hello.cpp b/src/lib/tls/msg_client_hello.cpp
index 56e226a40..b493fd3ee 100644
--- a/src/lib/tls/msg_client_hello.cpp
+++ b/src/lib/tls/msg_client_hello.cpp
@@ -221,9 +221,6 @@ std::vector<byte> Client_Hello::serialize() const
*/
Client_Hello::Client_Hello(const std::vector<byte>& buf)
{
- if(buf.size() == 0)
- throw Decoding_Error("Client_Hello: Packet corrupted");
-
if(buf.size() < 41)
throw Decoding_Error("Client_Hello: Packet corrupted");