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: