From a712b93e44867644671d394ce683cae1e89cc1aa Mon Sep 17 00:00:00 2001 From: 0x676e67 Date: Sun, 3 Nov 2024 21:23:26 +0800 Subject: [PATCH] Fix X25519_MLKEM768 mapper --- boring/src/ssl/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boring/src/ssl/mod.rs b/boring/src/ssl/mod.rs index 9ca8f234..02417102 100644 --- a/boring/src/ssl/mod.rs +++ b/boring/src/ssl/mod.rs @@ -713,7 +713,7 @@ impl SslCurve { SslCurve(ffi::SSL_CURVE_X25519_KYBER768_DRAFT00 as _); #[cfg(feature = "pq-experimental")] - pub const X25519_MLKEM768: SslCurve = SslCurve(ffi::NID_X25519MLKEM768 as _); + pub const X25519_MLKEM768: SslCurve = SslCurve(ffi::SSL_CURVE_X25519_MLKEM768 as _); #[cfg(feature = "pq-experimental")] pub const X25519_KYBER768_DRAFT00_OLD: SslCurve =