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
committerMichael Dawson <mdawson@devrus.com>2022-05-04 21:20:59 +0300
commit2454aa0f1fdd41486268f711a6ad53756350f608 (patch)
tree152876fe2741cbf24275380300a21f811cf0514b /configure.py
parent755721a80c12eed68f8589af736c4ad15cbc6216 (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>
Diffstat (limited to 'configure.py')
-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: