MCPcopy Index your code
hub / github.com/nodejs/node / getDefaultEcdhCurve

Function getDefaultEcdhCurve

lib/internal/tls/secure-context.js:46–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44} = internalBinding('constants');
45
46function getDefaultEcdhCurve() {
47 // We do it this way because DEFAULT_ECDH_CURVE can be
48 // changed by users, so we need to grab the current
49 // value, but we want the evaluation to be lazy.
50 return require('tls').DEFAULT_ECDH_CURVE || 'auto';
51}
52
53function getDefaultCiphers() {
54 // We do it this way because DEFAULT_CIPHERS can be

Callers 1

configSecureContextFunction · 0.85

Calls 1

requireFunction · 0.50

Tested by

no test coverage detected