Skip to content

Commit 034ba73

Browse files
ianloictargos
authored andcommitted
src: fix --without-ssl build
ProcessArgv referenced fields on PerProcessOptions that aren't there when the build is configured --without-ssl. PR-URL: #22484 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 2767eba commit 034ba73

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/node.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2729,12 +2729,14 @@ void ProcessArgv(std::vector<std::string>* args,
27292729
exit(9);
27302730
}
27312731

2732+
#if HAVE_OPENSSL
27322733
if (per_process_opts->use_openssl_ca && per_process_opts->use_bundled_ca) {
27332734
fprintf(stderr, "%s: either --use-openssl-ca or --use-bundled-ca can be "
27342735
"used, not both\n",
27352736
args->at(0).c_str());
27362737
exit(9);
27372738
}
2739+
#endif
27382740

27392741
if (std::find(v8_args.begin(), v8_args.end(),
27402742
"--abort-on-uncaught-exception") != v8_args.end() ||

0 commit comments

Comments
 (0)