Skip to content

Commit f9376dd

Browse files
TrottMyles Borins
authored and
Myles Borins
committed
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 8a5a586 commit f9376dd

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