aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_heartbeats.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-04-12 13:41:13 +0000
committerlloyd <[email protected]>2014-04-12 13:41:13 +0000
commit4d72d7344018e97d672956e5292e23c88e1f7f1f (patch)
treecf18bc2d23ae019f804356b6dff762e345d70043 /src/lib/tls/tls_heartbeats.cpp
parentb971432dc88eca599214bf0a40219d3263d1abf2 (diff)
Have TLS_Data_Reader decoding errors include the actual msg type name
Diffstat (limited to 'src/lib/tls/tls_heartbeats.cpp')
-rw-r--r--src/lib/tls/tls_heartbeats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/tls_heartbeats.cpp b/src/lib/tls/tls_heartbeats.cpp
index 8c129858e..1b4f099c1 100644
--- a/src/lib/tls/tls_heartbeats.cpp
+++ b/src/lib/tls/tls_heartbeats.cpp
@@ -16,7 +16,7 @@ namespace TLS {
Heartbeat_Message::Heartbeat_Message(const std::vector<byte>& buf)
{
- TLS_Data_Reader reader(buf);
+ TLS_Data_Reader reader("Heartbeat", buf);
const byte type = reader.get_byte();