Skip to content

Commit 64e2eed

Browse 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 <[email protected]>
1 parent 1a360d6 commit 64e2eed

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

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

-3
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)