FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

build: check FIPS option value in node.gyp · nodejs/node@28f662b · GitHub

/ node Public

Commit 28f662b

Browse files
authored andcommitted
build: check FIPS option value in node.gyp
openssl_is_fips is always the string "true" or "false", so testing whether it is non-empty always adds OPENSSL_FIPS to mkssldef. Add the define only when FIPS was requested. Signed-off-by: Filip Skokan <panva.ip@gmail.com> PR-URL: #64982 Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Aviv Keller <me@aviv.sh>
1 parent 29a2ece commit 28f662b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎node.gyp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@
10321032
],
10331033
},
10341034
'conditions': [
1035-
['openssl_is_fips!=""', {
1035+
['openssl_is_fips=="true"', {
10361036
'variables': { 'mkssldef_flags': ['-DOPENSSL_FIPS'] },
10371037
}],
10381038
],

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL