Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c82023a

Browse filesBrowse files
reasonablytallBridgeAR
authored andcommitted
test: remove uneeded agent keypair in fixtures/
PR-URL: #27962 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 74e6109 commit c82023a
Copy full SHA for c82023a

File tree

Expand file treeCollapse file tree

7 files changed

+11
-59
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

7 files changed

+11
-59
lines changed
Open diff view settings
Collapse file

‎test/fixtures/agent.crt‎

Copy file name to clipboardExpand all lines: test/fixtures/agent.crt
-21Lines changed: 0 additions & 21 deletions
This file was deleted.
Collapse file

‎test/fixtures/agent.key‎

Copy file name to clipboardExpand all lines: test/fixtures/agent.key
-27Lines changed: 0 additions & 27 deletions
This file was deleted.
Collapse file

‎test/parallel/test-tls-securepair-server.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-tls-securepair-server.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ const net = require('net');
3333
const spawn = require('child_process').spawn;
3434
const fixtures = require('../common/fixtures');
3535

36-
const key = fixtures.readSync('agent.key').toString();
37-
const cert = fixtures.readSync('agent.crt').toString();
36+
const key = fixtures.readKey('rsa_private.pem');
37+
const cert = fixtures.readKey('rsa_cert.crt');
3838

3939
function log(a) {
4040
console.error(`***server*** ${a}`);
Collapse file

‎test/parallel/test-tls-session-cache.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-tls-session-cache.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ doTest({ tickets: false }, function() {
4141
});
4242

4343
function doTest(testOptions, callback) {
44-
const key = fixtures.readSync('agent.key');
45-
const cert = fixtures.readSync('agent.crt');
44+
const key = fixtures.readKey('rsa_private.pem');
45+
const cert = fixtures.readKey('rsa_cert.crt');
4646
const options = {
4747
key,
4848
cert,
@@ -101,8 +101,8 @@ function doTest(testOptions, callback) {
101101
'-tls1',
102102
'-connect', `localhost:${this.address().port}`,
103103
'-servername', 'ohgod',
104-
'-key', fixtures.path('agent.key'),
105-
'-cert', fixtures.path('agent.crt'),
104+
'-key', fixtures.path('keys/rsa_private.pem'),
105+
'-cert', fixtures.path('keys/rsa_cert.crt'),
106106
'-reconnect'
107107
].concat(testOptions.tickets ? [] : '-no_ticket');
108108

Collapse file

‎test/parallel/test-tls-ticket-cluster.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-tls-ticket-cluster.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ if (cluster.isMaster) {
9494
return;
9595
}
9696

97-
const key = fixtures.readSync('agent.key');
98-
const cert = fixtures.readSync('agent.crt');
97+
const key = fixtures.readKey('rsa_private.pem');
98+
const cert = fixtures.readKey('rsa_cert.crt');
9999

100100
const options = { key, cert };
101101

Collapse file

‎test/sequential/test-tls-securepair-client.js‎

Copy file name to clipboardExpand all lines: test/sequential/test-tls-securepair-client.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ test1();
4242

4343
// simple/test-tls-securepair-client
4444
function test1() {
45-
test('agent.key', 'agent.crt', null, test2);
45+
test('keys/rsa_private.pem', 'keys/rsa_cert.crt', null, test2);
4646
}
4747

4848
// simple/test-tls-ext-key-usage
Collapse file

‎test/sequential/test-tls-session-timeout.js‎

Copy file name to clipboardExpand all lines: test/sequential/test-tls-session-timeout.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ function doTest() {
5151

5252
const SESSION_TIMEOUT = 1;
5353

54-
const key = fixtures.readSync('agent.key');
55-
const cert = fixtures.readSync('agent.crt');
54+
const key = fixtures.readKey('rsa_private.pem');
55+
const cert = fixtures.readKey('rsa_cert.crt');
5656
const options = {
5757
key: key,
5858
cert: cert,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.