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 b5e516a

Browse filesBrowse files
TrottMyles Borins
authored andcommitted
test: remove unused var in test-tls-server-verify
`connections` is assigned but never used. Remove it. (This was missed by the linter in previous versions of ESLint but is flagged by the current version. Updating the linter is contingent on this change or some similar remedy landing.) PR-URL: #7595 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 242d6c7 commit b5e516a
Copy full SHA for b5e516a

File tree

Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-tls-server-verify.js
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,6 @@ function runTest(port, testIndex) {
254254
rejectUnauthorized: tcase.rejectUnauthorized
255255
};
256256

257-
var connections = 0;
258-
259257
/*
260258
* If renegotiating - session might be resumed and openssl won't request
261259
* client's certificate (probably because of bug in the openssl)
@@ -290,7 +288,6 @@ function runTest(port, testIndex) {
290288
return;
291289
}
292290

293-
connections++;
294291
if (c.authorized) {
295292
console.error(prefix + '- authed connection: ' +
296293
c.getPeerCertificate().subject.CN);

0 commit comments

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