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 64e2eed

Browse filesBrowse files
Trottevanlucas
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 1a360d6 commit 64e2eed
Copy full SHA for 64e2eed

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
@@ -256,8 +256,6 @@ function runTest(port, testIndex) {
256256
rejectUnauthorized: tcase.rejectUnauthorized
257257
};
258258

259-
var connections = 0;
260-
261259
/*
262260
* If renegotiating - session might be resumed and openssl won't request
263261
* client's certificate (probably because of bug in the openssl)
@@ -292,7 +290,6 @@ function runTest(port, testIndex) {
292290
return;
293291
}
294292

295-
connections++;
296293
if (c.authorized) {
297294
console.error(prefix + '- authed connection: ' +
298295
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.