From 0a8995d36bf2e19c8097caed9deaeea211e146bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Sun, 6 Feb 2022 00:36:32 +0100 Subject: [PATCH] doc: improve SSL_OP_PRIORITIZE_CHACHA description The cipher should be spelled "ChaCha20-Poly1305", i.e., with a hyphen between the encryption and MAC algorithm names. Also change "when client does" to "when the client does." PR-URL: https://github.com/nodejs/node/pull/41866 Reviewed-By: Rich Trott Reviewed-By: Mestery --- doc/api/crypto.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 77b5d0f5819b01..86af66746ecdf2 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -5751,8 +5751,8 @@ See the [list of SSL OP Flags][] for details. SSL_OP_PRIORITIZE_CHACHA - Instructs OpenSSL server to prioritize ChaCha20Poly1305 - when client does. + Instructs OpenSSL server to prioritize ChaCha20-Poly1305 + when the client does. This option has no effect if SSL_OP_CIPHER_SERVER_PREFERENCE is not enabled.