src: allow --tls-cipher-list in NODE_OPTIONS
PR-URL: https://github.com/nodejs/node/pull/13172 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
This commit is contained in:
parent
e51a201609
commit
b659385791
@ -444,6 +444,7 @@ Node options that are allowed are:
|
||||
- `--redirect-warnings`
|
||||
- `--require`, `-r`
|
||||
- `--throw-deprecation`
|
||||
- `--tls-cipher-list`
|
||||
- `--trace-deprecation`
|
||||
- `--trace-events-categories`
|
||||
- `--trace-events-enabled`
|
||||
|
@ -3712,7 +3712,7 @@ static void CheckIfAllowedInEnv(const char* exe, bool is_env,
|
||||
size_t arglen = eq ? eq - arg : strlen(arg);
|
||||
|
||||
static const char* whitelist[] = {
|
||||
// Node options
|
||||
// Node options, sorted in `node --help` order for ease of comparison.
|
||||
"--require", "-r",
|
||||
"--inspect",
|
||||
"--inspect-brk",
|
||||
@ -3730,6 +3730,7 @@ static void CheckIfAllowedInEnv(const char* exe, bool is_env,
|
||||
"--track-heap-objects",
|
||||
"--zero-fill-buffers",
|
||||
"--v8-pool-size",
|
||||
"--tls-cipher-list",
|
||||
"--use-bundled-ca",
|
||||
"--use-openssl-ca",
|
||||
"--enable-fips",
|
||||
|
Loading…
x
Reference in New Issue
Block a user