From 0bb0ed5712eaa274c0e025c74fe792c56c5c8c7f Mon Sep 17 00:00:00 2001 From: Zuzana Svetlikova Date: Wed, 19 Feb 2020 09:33:47 +0000 Subject: [PATCH] Remove or backport OpenSSL features Signed-off-by: rpm-build --- 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 | 461 +++++++++++++++++++++++++++++++--- src/node_crypto.h | 77 ++++++ src/node_crypto_bio.cc | 29 ++- src/node_crypto_common.cc | 32 ++- src/node_crypto_common.h | 2 + src/node_errors.h | 4 +- src/node_options.cc | 4 + src/tls_wrap.cc | 2 + 14 files changed, 592 insertions(+), 77 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index 5dd5ae4..2ea0732 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -753,15 +753,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`