aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/s_kex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls/s_kex.cpp')
-rw-r--r--src/tls/s_kex.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tls/s_kex.cpp b/src/tls/s_kex.cpp
index 48901d311..7fc7daf2d 100644
--- a/src/tls/s_kex.cpp
+++ b/src/tls/s_kex.cpp
@@ -224,6 +224,8 @@ Server_Key_Exchange::Server_Key_Exchange(const std::vector<byte>& buf,
m_signature = reader.get_range<byte>(2, 0, 65535);
}
+
+ reader.assert_done();
}
Server_Key_Exchange::~Server_Key_Exchange()