mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
src: fix --without-ssl build
ProcessArgv referenced fields on PerProcessOptions that aren't there when the build is configured --without-ssl. PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
5f392a1d2d
commit
e5d47c44af
1 file changed
+2
@@ -2729,12 +2729,14 @@ void ProcessArgv(std::vector<std::string>* args,
|
||||
exit(9);
|
||||
}
|
||||
|
||||
#if HAVE_OPENSSL
|
||||
if (per_process_opts->use_openssl_ca && per_process_opts->use_bundled_ca) {
|
||||
fprintf(stderr, "%s: either --use-openssl-ca or --use-bundled-ca can be "
|
||||
"used, not both\n",
|
||||
args->at(0).c_str());
|
||||
exit(9);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (std::find(v8_args.begin(), v8_args.end(),
|
||||
"--abort-on-uncaught-exception") != v8_args.end() ||
|
||||
|
||||
Reference in new issue
Block a user