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 78f39c9

Browse filesBrowse files
reasonablytallBridgeAR
authored andcommitted
test: remove uneeded alice certs 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 5d07377 commit 78f39c9
Copy full SHA for 78f39c9

File tree

Expand file treeCollapse file tree

3 files changed

+4
-50
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

3 files changed

+4
-50
lines changed
Open diff view settings
Collapse file

‎test/fixtures/alice.crt‎

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

‎test/fixtures/multi-alice.crt‎

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

‎test/parallel/test-tls-peer-certificate-multi-keys.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-tls-peer-certificate-multi-keys.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ const tls = require('tls');
2929
const fixtures = require('../common/fixtures');
3030

3131
const options = {
32-
key: fixtures.readSync('agent.key'),
33-
cert: fixtures.readSync('multi-alice.crt')
32+
key: fixtures.readKey('rsa_private.pem'),
33+
cert: fixtures.readKey('rsa_cert.crt')
3434
};
3535

3636
const server = tls.createServer(options, function(cleartext) {
@@ -42,7 +42,7 @@ server.once('secureConnection', common.mustCall(function(socket) {
4242
// The server's local cert is the client's peer cert.
4343
assert.deepStrictEqual(
4444
cert.subject.OU,
45-
['Information Technology', 'Engineering', 'Marketing']
45+
['Test TLS Certificate', 'Engineering']
4646
);
4747
}));
4848

@@ -54,7 +54,7 @@ server.listen(0, common.mustCall(function() {
5454
const peerCert = socket.getPeerCertificate();
5555
assert.deepStrictEqual(
5656
peerCert.subject.OU,
57-
['Information Technology', 'Engineering', 'Marketing']
57+
['Test TLS Certificate', 'Engineering']
5858
);
5959
server.close();
6060
}));

0 commit comments

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