Lines Matching defs:const
24 const common = require('../common');
31 const assert = require('assert');
32 const { X509Certificate } = require('crypto');
33 const { once } = require('events');
34 const tls = require('tls');
35 const { execFile } = require('child_process');
36 const fixtures = require('../common/fixtures');
38 const key = fixtures.readKey('agent2-key.pem');
39 const cert = fixtures.readKey('agent2-cert.pem');
42 const dheCipher = 'DHE-RSA-AES128-SHA256';
43 const ecdheCipher = 'ECDHE-RSA-AES128-SHA256';
44 const ciphers = `${dheCipher}:${ecdheCipher}`;
51 const keyname = `dh${n}.pem`;
56 const options = {
64 const server = tls.createServer(options, (conn) => conn.end());
67 const args = ['s_client', '-connect', `127.0.0.1:${server.address().port}`,
82 const dhparam = loadDHParam(keylen);
89 for (const dhparam of [undefined, null]) {
97 const {