aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/tls/common_string.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/tls/common_string.go')
-rw-r--r--src/crypto/tls/common_string.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/crypto/tls/common_string.go b/src/crypto/tls/common_string.go
index 238108811f..1752f81050 100644
--- a/src/crypto/tls/common_string.go
+++ b/src/crypto/tls/common_string.go
@@ -1,4 +1,4 @@
-// Code generated by "stringer -type=SignatureScheme,CurveID,ClientAuthType -output=common_string.go"; DO NOT EDIT.
+// Code generated by "stringer -linecomment -type=SignatureScheme,CurveID,ClientAuthType -output=common_string.go"; DO NOT EDIT.
package tls
@@ -71,11 +71,13 @@ func _() {
_ = x[CurveP384-24]
_ = x[CurveP521-25]
_ = x[X25519-29]
+ _ = x[x25519Kyber768Draft00-25497]
}
const (
_CurveID_name_0 = "CurveP256CurveP384CurveP521"
_CurveID_name_1 = "X25519"
+ _CurveID_name_2 = "X25519Kyber768Draft00"
)
var (
@@ -89,6 +91,8 @@ func (i CurveID) String() string {
return _CurveID_name_0[_CurveID_index_0[i]:_CurveID_index_0[i+1]]
case i == 29:
return _CurveID_name_1
+ case i == 25497:
+ return _CurveID_name_2
default:
return "CurveID(" + strconv.FormatInt(int64(i), 10) + ")"
}