summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-09-02 10:42:36 +0100
committerMatt Caswell <matt@openssl.org>2016-09-08 12:34:02 +0100
commit2d11f5b2ca863d4bd9e20b224932b247ed85842b (patch)
treee8e39535425a1c7d3fe766f9d6be36aa0935c366 /ssl
parent4e3997293b3825ed19de20d5484f8c0f66fce534 (diff)
Ensure trace recognises X25519
Using the -trace option to s_server or s_client was incorrectly printing UNKNOWN for the X25519 curve. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'ssl')
-rw-r--r--ssl/t1_trce.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/t1_trce.c b/ssl/t1_trce.c
index 00632e5820..4577f038a3 100644
--- a/ssl/t1_trce.c
+++ b/ssl/t1_trce.c
@@ -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"}
};