Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVita Batrla <vita.batrla@gmail.com>2022-05-02 18:50:54 +0300
committerRafaelGSS <rafael.nunu@hotmail.com>2022-05-10 15:13:17 +0300
commitd746207dc2665c3cc5f66362ca0dcd0476b71541 (patch)
tree47d3201a3c4c5623e77ebbdd1efa2ef8dc637b45
parent56c47b510121c39961241fb1111e916e0f86aeda (diff)
test: fix test-crypto-fips.js under shared OpenSSL
Fixes: https://github.com/nodejs/node/issues/42827 PR-URL: https://github.com/nodejs/node/pull/42947 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michael Dawson <midawson@redhat.com>
-rwxr-xr-xconfigure.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index 699f09d1957..8bf2bc0a986 100755
--- a/configure.py
+++ b/configure.py
@@ -1536,8 +1536,10 @@ def configure_openssl(o):
if options.openssl_no_asm and options.shared_openssl:
error('--openssl-no-asm is incompatible with --shared-openssl')
- if options.openssl_is_fips and not options.shared_openssl:
+ if options.openssl_is_fips:
o['defines'] += ['OPENSSL_FIPS']
+
+ if options.openssl_is_fips and not options.shared_openssl:
variables['node_fipsinstall'] = b(True)
if options.shared_openssl: