Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.)
  • Loading branch information
Trott committed Jul 7, 2016
commit 64151802a0835153d186937db830050756d078c3
3 changes: 0 additions & 3 deletions test/parallel/test-tls-server-verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,6 @@ function runTest(port, testIndex) {
rejectUnauthorized: tcase.rejectUnauthorized
};

var connections = 0;

/*
* If renegotiating - session might be resumed and openssl won't request
* client's certificate (probably because of bug in the openssl)
Expand Down Expand Up @@ -292,7 +290,6 @@ function runTest(port, testIndex) {
return;
}

connections++;
if (c.authorized) {
console.error(prefix + '- authed connection: ' +
c.getPeerCertificate().subject.CN);
Expand Down