Lines Matching defs:const
2 const common = require('../common');
3 const fixtures = require('../common/fixtures');
10 const assert = require('assert');
11 const mustCall = common.mustCall;
12 const tls = require('tls');
13 const util = require('util');
17 const SSL_Method = 'TLSv1_2_method';
18 const localhost = '127.0.0.1';
21 const soptions = {
30 const server = tls.createServer(soptions, mustCall(function(clearTextStream) {
36 const coptions = {
43 const port = this.address().port;
44 const savedDefaults = tls.DEFAULT_CIPHERS;
46 const client = tls.connect(port, localhost, coptions, mustCall(function() {
47 const cipher = client.getCipher();
50 const msg = util.format(