Skip to content

Commit 6eed1af

Browse files
authored
fix: normalize NamedGroup string for X25519 and X448 to IANA names (#477)
1 parent 89b5f80 commit 6eed1af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tls/tls_names.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,8 @@ func init() {
439439
curveNames[26] = "brainpoolP256r1"
440440
curveNames[27] = "brainpoolP384r1"
441441
curveNames[28] = "brainpoolP512r1"
442-
curveNames[29] = "ecdh_x25519" // TEMPORARY -- expires 1Mar2018
443-
curveNames[30] = "ecdh_x448" // TEMPORARY -- expires 1Mar2018
442+
curveNames[29] = "x25519"
443+
curveNames[30] = "x448"
444444
curveNames[256] = "ffdhe2048"
445445
curveNames[257] = "ffdhe3072"
446446
curveNames[258] = "ffdhe4096"

0 commit comments

Comments
 (0)