diff options
Diffstat (limited to 'src/lib/tls/tls_server.cpp')
-rw-r--r-- | src/lib/tls/tls_server.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/tls/tls_server.cpp b/src/lib/tls/tls_server.cpp index 06a55debb..6fe266989 100644 --- a/src/lib/tls/tls_server.cpp +++ b/src/lib/tls/tls_server.cpp @@ -338,7 +338,8 @@ void Server::process_handshake_msg(const Handshake_State* active_state, if(!m_policy.acceptable_protocol_version(negotiated_version)) { throw TLS_Exception(Alert::PROTOCOL_VERSION, - "Client version is unacceptable by policy"); + "Client version " + negotiated_version.to_string() + + " is unacceptable by policy"); } if(!initial_handshake && state.client_hello()->next_protocol_notification()) |