From 590cef9b1f2ea3c20f1ed3d5f86b5f5496c05c61 Mon Sep 17 00:00:00 2001 From: 0x676e67 Date: Wed, 18 Jun 2025 22:16:46 +0800 Subject: [PATCH] docs: update prefer chacha20 option docs --- boring/src/ssl/connector.rs | 2 +- boring/src/ssl/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boring/src/ssl/connector.rs b/boring/src/ssl/connector.rs index 510a67c1..f4836e85 100644 --- a/boring/src/ssl/connector.rs +++ b/boring/src/ssl/connector.rs @@ -287,7 +287,7 @@ impl ConnectConfiguration { unsafe { ffi::SSL_set_aes_hw_override(self.as_ptr(), enable as _) } } - /// Sets whether the aes chacha20 preference should be enabled. + /// Sets whether the ChaCha20 preference should be enabled. /// /// Controls the priority of TLS 1.3 cipher suites. When set to `true`, the client prefers: /// AES_128_GCM, CHACHA20_POLY1305, then AES_256_GCM. Useful in environments with specific diff --git a/boring/src/ssl/mod.rs b/boring/src/ssl/mod.rs index 5073dc46..1efc7c8d 100644 --- a/boring/src/ssl/mod.rs +++ b/boring/src/ssl/mod.rs @@ -1910,7 +1910,7 @@ impl SslContextBuilder { unsafe { ffi::SSL_CTX_set_aes_hw_override(self.as_ptr(), enable as _) } } - /// Sets whether the AES-ChaCha20 preference should be enabled. + /// Sets whether the ChaCha20 preference should be enabled. /// /// Controls the priority of TLS 1.3 cipher suites. When set to `true`, the client prefers: /// AES_128_GCM, CHACHA20_POLY1305, then AES_256_GCM. Useful in environments with specific