From 7f07e4a86c098715f93a453066ded0c1a6c63d55 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Thu, 8 Feb 2018 06:51:49 -0500 Subject: Add callback for decoding TLS group params --- src/lib/tls/msg_client_kex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/tls/msg_client_kex.cpp') diff --git a/src/lib/tls/msg_client_kex.cpp b/src/lib/tls/msg_client_kex.cpp index 2d0c2d019..b3dff072e 100644 --- a/src/lib/tls/msg_client_kex.cpp +++ b/src/lib/tls/msg_client_kex.cpp @@ -124,7 +124,7 @@ Client_Key_Exchange::Client_Key_Exchange(Handshake_IO& io, "Server sent ECC curve prohibited by policy"); } - const std::string curve_name = group_param_to_string(curve_id); + const std::string curve_name = state.callbacks().tls_decode_group_param(curve_id); if(curve_name == "") throw Decoding_Error("Server sent unknown named curve " + -- cgit v1.2.3