From 7776e056175360b0eaf8e8cd9605671ece0cd66c Mon Sep 17 00:00:00 2001 From: Zuzana Svetlikova Date: Wed, 19 Feb 2020 09:33:47 +0000 Subject: [PATCH 1/4] remove openssl features --- doc/api/cli.md | 26 --- lib/_tls_common.js | 2 +- lib/internal/crypto/keygen.js | 8 +- lib/tls.js | 9 +- src/env.h | 1 - src/node_constants.cc | 12 +- src/node_crypto.cc | 500 +++++++++++++++++++++++++++++++++++++++--- src/node_crypto.h | 44 ++++ src/node_crypto_bio.cc | 29 ++- src/node_errors.h | 4 +- src/node_options.cc | 4 + src/tls_wrap.cc | 2 + 12 files changed, 568 insertions(+), 73 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index 7703d0b..ecf7632 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -706,15 +706,6 @@ added: v4.0.0 Specify an alternative default TLS cipher list. Requires Node.js to be built with crypto support (default). -### `--tls-keylog=file` - - -Log TLS key material to a file. The key material is in NSS `SSLKEYLOGFILE` -format and can be used by software (such as Wireshark) to decrypt the TLS -traffic. - ### `--tls-max-v1.2` - -Set default [`tls.DEFAULT_MAX_VERSION`][] to 'TLSv1.3'. Use to enable support -for TLSv1.3. - ### `--tls-min-v1.0` - -Set default [`tls.DEFAULT_MIN_VERSION`][] to 'TLSv1.3'. Use to disable support -for TLSv1.2, which is not as secure as TLSv1.3. - ### `--trace-deprecation`