aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/msg_next_protocol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tls/msg_next_protocol.cpp')
-rw-r--r--src/lib/tls/msg_next_protocol.cpp2
1 files changed, 1 insertions, 1 deletions
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<byte>& buf)
{
- TLS_Data_Reader reader(buf);
+ TLS_Data_Reader reader("NextProtocol", buf);
m_protocol = reader.get_string(1, 0, 255);