Skip to content

Commit 1146067

Browse files
ianloicaddaleax
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 <refack@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 9acf4c5 commit 1146067

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/node.cc

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

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

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

0 commit comments

Comments
 (0)