diff options
-rw-r--r-- | src/lib/tls/msg_client_kex.cpp | 2 |
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 3291b6eb5..3d2f72e1c 100644 --- a/src/lib/tls/msg_client_kex.cpp +++ b/src/lib/tls/msg_client_kex.cpp @@ -181,7 +181,7 @@ Client_Key_Exchange::Client_Key_Exchange(Handshake_IO& io, } else { - EC_Group group(curve_name); + EC_Group group(OIDS::lookup(curve_name)); ECDH_PublicKey counterparty_key(group, OS2ECP(ecdh_key, group.get_curve())); policy.check_peer_key_acceptable(counterparty_key); ECDH_PrivateKey priv_key(rng, group); |