diff options
author | Vita Batrla <vita.batrla@gmail.com> | 2022-05-02 18:50:54 +0300 |
---|---|---|
committer | RafaelGSS <rafael.nunu@hotmail.com> | 2022-05-10 15:13:17 +0300 |
commit | d746207dc2665c3cc5f66362ca0dcd0476b71541 (patch) | |
tree | 47d3201a3c4c5623e77ebbdd1efa2ef8dc637b45 | |
parent | 56c47b510121c39961241fb1111e916e0f86aeda (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-x | configure.py | 4 |
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: |