doc: add a reference to the list of OpenSSL flags.

Some of the SSL_OP_* constants are missing description in the
documentation. Instead of rewriting the description from OpenSSL's
wiki, I have decided to put a link to a detailed list in the
'OpenSSL Options' section.

I see no point of doing both - adding a reference to the wiki and
adding constant descriptions - but I might do if presented with
convincing arguments.

This is a follow-up to #33929.

PR-URL: https://github.com/nodejs/node/pull/34050
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Mateusz Krawczuk
2020-06-25 15:50:17 +02:00
committed by James M Snell
parent 3f81f2a421
commit d3d4aceb96

View File

@@ -3390,6 +3390,8 @@ the `crypto`, `tls`, and `https` modules and are generally specific to OpenSSL.
### Other OpenSSL constants
See the [list of SSL OP Flags][] for details.
<table>
<tr>
<th>Constant</th>
@@ -3558,3 +3560,4 @@ the `crypto`, `tls`, and `https` modules and are generally specific to OpenSSL.
[scrypt]: https://en.wikipedia.org/wiki/Scrypt
[stream-writable-write]: stream.html#stream_writable_write_chunk_encoding_callback
[stream]: stream.html
[list of SSL OP Flags]: wiki.openssl.org/index.php/List_of_SSL_OP_Flags#Table_of_Options