Skip to content

Commit

Permalink
test: remove unused var in test-tls-server-verify
Browse files Browse the repository at this point in the history
`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>
  • Loading branch information
Trott authored and Myles Borins committed Jul 14, 2016
1 parent 242d6c7 commit b5e516a
Showing 1 changed file with 0 additions and 3 deletions.
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 @@ -254,8 +254,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 @@ -290,7 +288,6 @@ function runTest(port, testIndex) {
return;
}

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

0 comments on commit b5e516a

Please sign in to comment.