Advertise X25519MLKEM768 with "kx-client-pq-preferred" (#329)

This algorithm is advertised with "kx-client-pq-supported" but not with
"preferred". However the algorithm is wide spread enough that preferring
it is not a significant risk.
This commit is contained in:
Christopher Patton 2025-03-10 11:30:56 -07:00 committed by GitHub
parent 221efdfea9
commit dde4b9ccde
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -2805,7 +2805,7 @@ impl SslRef {
if cfg!(feature = "kx-client-nist-required") {
"P256Kyber768Draft00:P-256:P-384:P-521"
} else {
"X25519Kyber768Draft00:X25519:P256Kyber768Draft00:P-256:P-384:P-521"
"X25519MLKEM768:X25519Kyber768Draft00:X25519:P256Kyber768Draft00:P-256:P-384:P-521"
}
} else if cfg!(feature = "kx-client-pq-supported") {
if cfg!(feature = "kx-client-nist-required") {