Skip to content

Commit d746207

Browse files
Vita BatrlaRafaelGSS
Vita Batrla
authored andcommitted
test: fix test-crypto-fips.js under shared OpenSSL
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>
1 parent 56c47b5 commit d746207

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

configure.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1536,8 +1536,10 @@ def without_ssl_error(option):
15361536
if options.openssl_no_asm and options.shared_openssl:
15371537
error('--openssl-no-asm is incompatible with --shared-openssl')
15381538

1539-
if options.openssl_is_fips and not options.shared_openssl:
1539+
if options.openssl_is_fips:
15401540
o['defines'] += ['OPENSSL_FIPS']
1541+
1542+
if options.openssl_is_fips and not options.shared_openssl:
15411543
variables['node_fipsinstall'] = b(True)
15421544

15431545
if options.shared_openssl:

0 commit comments

Comments
 (0)