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>
This commit is contained in:
Tobias Nießen authored and Ruy Adorno committed 2022-02-07 23:29:55 -05:00
1 parent 1c62eb64f6
commit 0a8995d36b
1 file changed
+2 -2
+2 -2
View File
@@ -5751,8 +5751,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>