diff --git a/.gitignore b/.gitignore index 331960c..2129f2d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/node-v12.16.1-stripped.tar.gz +SOURCES/node-v12.18.2-stripped.tar.gz diff --git a/.rh-nodejs12-nodejs.metadata b/.rh-nodejs12-nodejs.metadata index f6a527f..d6445da 100644 --- a/.rh-nodejs12-nodejs.metadata +++ b/.rh-nodejs12-nodejs.metadata @@ -1 +1 @@ -696bdce06cf5dc6300d8ef6fc646d45cff401190 SOURCES/node-v12.16.1-stripped.tar.gz +2b5af5fe544a0aa310e962bb70f5e225022589b7 SOURCES/node-v12.18.2-stripped.tar.gz diff --git a/SOURCES/0001-Remove-or-backport-OpenSSL-features.patch b/SOURCES/0001-Remove-or-backport-OpenSSL-features.patch index 1c093c9..b675a8d 100644 --- a/SOURCES/0001-Remove-or-backport-OpenSSL-features.patch +++ b/SOURCES/0001-Remove-or-backport-OpenSSL-features.patch @@ -1,28 +1,31 @@ -From 7776e056175360b0eaf8e8cd9605671ece0cd66c Mon Sep 17 00:00:00 2001 +From 0bb0ed5712eaa274c0e025c74fe792c56c5c8c7f 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 +Subject: [PATCH] Remove or backport OpenSSL features +Signed-off-by: rpm-build --- - doc/api/cli.md | 26 --- + 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.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 + - 12 files changed, 568 insertions(+), 73 deletions(-) + 14 files changed, 592 insertions(+), 77 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md -index 7703d0b..ecf7632 100644 +index 5dd5ae4..2ea0732 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md -@@ -706,15 +706,6 @@ added: v4.0.0 +@@ -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). @@ -38,7 +41,7 @@ index 7703d0b..ecf7632 100644 ### `--tls-max-v1.2` * `privateKey` {Object | string | Buffer | KeyObject} @@ -58,7 +56,7 @@ index f727d6f..7e74977 100644 * `padding` {integer} * `saltLength` {integer} * `outputEncoding` {string} The [encoding][] of the return value. -@@ -1418,10 +1417,6 @@ If `privateKey` is not a [`KeyObject`][], this function behaves as if +@@ -1423,10 +1422,6 @@ If `privateKey` is not a [`KeyObject`][], this function behaves as if `privateKey` had been passed to [`crypto.createPrivateKey()`][]. If it is an object, the following additional properties can be passed: @@ -69,7 +67,7 @@ index f727d6f..7e74977 100644 * `padding` {integer} Optional padding value for RSA, one of the following: * `crypto.constants.RSA_PKCS1_PADDING` (default) * `crypto.constants.RSA_PKCS1_PSS_PADDING` -@@ -1518,7 +1513,6 @@ changes: +@@ -1523,7 +1518,6 @@ changes: --> * `object` {Object | string | Buffer | KeyObject} @@ -77,7 +75,7 @@ index f727d6f..7e74977 100644 * `padding` {integer} * `saltLength` {integer} * `signature` {string | Buffer | TypedArray | DataView} -@@ -1532,10 +1526,6 @@ If `object` is not a [`KeyObject`][], this function behaves as if +@@ -1537,10 +1531,6 @@ If `object` is not a [`KeyObject`][], this function behaves as if `object` had been passed to [`crypto.createPublicKey()`][]. If it is an object, the following additional properties can be passed: @@ -88,7 +86,7 @@ index f727d6f..7e74977 100644 * `padding` {integer} Optional padding value for RSA, one of the following: * `crypto.constants.RSA_PKCS1_PADDING` (default) * `crypto.constants.RSA_PKCS1_PSS_PADDING` -@@ -2427,9 +2417,6 @@ An array of supported digest functions can be retrieved using +@@ -2464,9 +2454,6 @@ An array of supported digest functions can be retrieved using @@ -97,7 +84,7 @@ index ecf7632..15124c5 100644 ### `--tls-min-v1.0`