Commit 2d11f5b2 authored by Matt Caswell's avatar Matt Caswell
Browse files

Ensure trace recognises X25519



Using the -trace option to s_server or s_client was incorrectly printing
UNKNOWN for the X25519 curve.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent 4e399729
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -490,6 +490,7 @@ static ssl_trace_tbl ssl_curve_tbl[] = {
    {26, "brainpoolP256r1"},
    {27, "brainpoolP384r1"},
    {28, "brainpoolP512r1"},
    {29, "ecdh_x25519"},
    {0xFF01, "arbitrary_explicit_prime_curves"},
    {0xFF02, "arbitrary_explicit_char2_curves"}
};