50
50
errorEmitted = true;
54
// SSL_accept/SSL_connect error handling
56
var cert = fs.readFileSync(path.join(common.fixturesDir, 'test_cert.pem'));
57
var key = fs.readFileSync(path.join(common.fixturesDir, 'test_key.pem'));
59
var errorEmitted = false;
61
process.on('exit', function() {
62
assert.ok(errorEmitted);
65
var conn = tls.connect({
69
ciphers: 'rick-128-roll'
71
assert.ok(false); // callback should never be executed
74
conn.on('error', function() {