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:
Ian McKellar authored and Michaël Zasso committed 2018-09-06 08:52:21 +02:00
1 parent 5f392a1d2d
commit e5d47c44af
1 file changed
+2
+2
View File
@@ -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() ||