Skip to content

Commit e450cb1

Browse files
committed
fixup! crypto: make --use-system-ca per-env rather than per-process
1 parent 33ea933 commit e450cb1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/node_options.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,10 +1054,12 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
10541054
&EnvironmentOptions::trace_env_native_stack,
10551055
kAllowedInEnvvar);
10561056

1057+
#if HAVE_OPENSSL
10571058
AddOption("--use-system-ca",
10581059
"use system's CA store",
10591060
&EnvironmentOptions::use_system_ca,
10601061
kAllowedInEnvvar);
1062+
#endif // HAVE_OPENSSL
10611063

10621064
AddOption(
10631065
"--trace-require-module",

0 commit comments

Comments
 (0)