From 4d72d7344018e97d672956e5292e23c88e1f7f1f Mon Sep 17 00:00:00 2001 From: lloyd Date: Sat, 12 Apr 2014 13:41:13 +0000 Subject: Have TLS_Data_Reader decoding errors include the actual msg type name --- src/lib/tls/msg_next_protocol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/tls/msg_next_protocol.cpp') diff --git a/src/lib/tls/msg_next_protocol.cpp b/src/lib/tls/msg_next_protocol.cpp index a09fd02d1..4371ce33c 100644 --- a/src/lib/tls/msg_next_protocol.cpp +++ b/src/lib/tls/msg_next_protocol.cpp @@ -24,7 +24,7 @@ Next_Protocol::Next_Protocol(Handshake_IO& io, Next_Protocol::Next_Protocol(const std::vector& buf) { - TLS_Data_Reader reader(buf); + TLS_Data_Reader reader("NextProtocol", buf); m_protocol = reader.get_string(1, 0, 255); -- cgit v1.2.3