diff options
author | lloyd <[email protected]> | 2014-04-12 13:41:13 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-04-12 13:41:13 +0000 |
commit | 4d72d7344018e97d672956e5292e23c88e1f7f1f (patch) | |
tree | cf18bc2d23ae019f804356b6dff762e345d70043 /src/lib/tls/msg_server_kex.cpp | |
parent | b971432dc88eca599214bf0a40219d3263d1abf2 (diff) |
Have TLS_Data_Reader decoding errors include the actual msg type name
Diffstat (limited to 'src/lib/tls/msg_server_kex.cpp')
-rw-r--r-- | src/lib/tls/msg_server_kex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/msg_server_kex.cpp b/src/lib/tls/msg_server_kex.cpp index 3a97d7175..1c169877c 100644 --- a/src/lib/tls/msg_server_kex.cpp +++ b/src/lib/tls/msg_server_kex.cpp @@ -148,7 +148,7 @@ Server_Key_Exchange::Server_Key_Exchange(const std::vector<byte>& buf, if(buf.size() < 6) throw Decoding_Error("Server_Key_Exchange: Packet corrupted"); - TLS_Data_Reader reader(buf); + TLS_Data_Reader reader("ServerKeyExchange", buf); /* * We really are just serializing things back to what they were |