src: allow --tls-cipher-list in NODE_OPTIONS · nodejs/node@16f8f9b

Original file line numberDiff line numberDiff line change

@@ -3786,7 +3786,7 @@ static void CheckIfAllowedInEnv(const char* exe, bool is_env,

37863786

size_t arglen = eq ? eq - arg : strlen(arg);

37873787
37883788

static const char* whitelist[] = {

3789-

// Node options

3789+

// Node options, sorted in `node --help` order for ease of comparison.

37903790

"--require", "-r",

37913791

"--debug",

37923792

"--debug-brk",

@@ -3802,6 +3802,7 @@ static void CheckIfAllowedInEnv(const char* exe, bool is_env,

38023802

"--track-heap-objects",

38033803

"--zero-fill-buffers",

38043804

"--v8-pool-size",

3805+

"--tls-cipher-list",

38053806

"--use-bundled-ca",

38063807

"--use-openssl-ca",

38073808

"--enable-fips",