aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/msg_client_kex.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-02-08 06:51:49 -0500
committerJack Lloyd <[email protected]>2018-02-13 07:48:56 -0500
commit7f07e4a86c098715f93a453066ded0c1a6c63d55 (patch)
tree6b4c99dbe02c0a3be5acb4a4eb76b7a60dce810b /src/lib/tls/msg_client_kex.cpp
parent9ec1b8f701988603c0018bc879832afd5174114f (diff)
Add callback for decoding TLS group params
Diffstat (limited to 'src/lib/tls/msg_client_kex.cpp')
-rw-r--r--src/lib/tls/msg_client_kex.cpp2
1 files changed, 1 insertions, 1 deletions
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 " +