Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2020-04-10 14:04:10 +0300
committerAnna Henningsen <anna@addaleax.net>2020-04-13 19:48:23 +0300
commit1f9761f4cc027315376cd669ceed2eeaca865d76 (patch)
treef9c01da7db0677ecc3d7530137d75ad049b3630b /src/node_constants.cc
parentbb5e7097e89685787e2a81e67512f32132b4606c (diff)
tls: provide default cipher list from command line
Avoid storing data that depends on command line options on internal bindings. This is generally a cleaner way of accessing CLI options. PR-URL: https://github.com/nodejs/node/pull/32760 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com>
Diffstat (limited to 'src/node_constants.cc')
-rw-r--r--src/node_constants.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/node_constants.cc b/src/node_constants.cc
index 68af221b60a..5d99fa181a0 100644
--- a/src/node_constants.cc
+++ b/src/node_constants.cc
@@ -1072,12 +1072,6 @@ void DefineCryptoConstants(Local<Object> target) {
NODE_DEFINE_CONSTANT(target, POINT_CONVERSION_UNCOMPRESSED);
NODE_DEFINE_CONSTANT(target, POINT_CONVERSION_HYBRID);
-
- NODE_DEFINE_STRING_CONSTANT(
- target,
- "defaultCipherList",
- per_process::cli_options->tls_cipher_list.c_str());
-
#endif
}