Skip to content

Commit

Permalink
test: fix test-crypto-fips.js under shared OpenSSL
Browse files Browse the repository at this point in the history
Fixes: #42827

PR-URL: #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>
  • Loading branch information
Vita Batrla authored and RafaelGSS committed May 10, 2022
1 parent 56c47b5 commit d746207
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -1536,8 +1536,10 @@ def without_ssl_error(option):
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:
Expand Down

0 comments on commit d746207

Please sign in to comment.