From d746207dc2665c3cc5f66362ca0dcd0476b71541 Mon Sep 17 00:00:00 2001 From: Vita Batrla Date: Mon, 2 May 2022 17:50:54 +0200 Subject: [PATCH] test: fix test-crypto-fips.js under shared OpenSSL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: https://github.com/nodejs/node/issues/42827 PR-URL: https://github.com/nodejs/node/pull/42947 Reviewed-By: Daniel Bevenius Reviewed-By: Tobias Nießen Reviewed-By: Ben Noordhuis Reviewed-By: Michael Dawson --- configure.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.py b/configure.py index 699f09d195718f..8bf2bc0a986955 100755 --- a/configure.py +++ b/configure.py @@ -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: