diff options
author | Tobias Nießen <tniessen@tnie.de> | 2022-02-06 02:36:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-06 02:36:32 +0300 |
commit | 37cb16574a83ed829f7bc7cc1e94d0d1a5bea583 (patch) | |
tree | 74a99b1e3078a216f2ac086c310f64975b26dc65 | |
parent | b8d994a23ada68b6ebd8cc817cf5318fdde71aed (diff) |
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 <rtrott@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
-rw-r--r-- | doc/api/crypto.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md index d246aed02a0..8d330b92a5a 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -5826,8 +5826,8 @@ See the [list of SSL OP Flags][] for details. </tr> <tr> <td><code>SSL_OP_PRIORITIZE_CHACHA</code></td> - <td>Instructs OpenSSL server to prioritize ChaCha20Poly1305 - when client does. + <td>Instructs OpenSSL server to prioritize ChaCha20-Poly1305 + when the client does. This option has no effect if <code>SSL_OP_CIPHER_SERVER_PREFERENCE</code> is not enabled.</td> |