mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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: https://github.com/nodejs/node/pull/7595 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
1 parent
242d6c7323
commit
b5e516a42c
1 file changed
-3
@@ -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)
|
||||
@@ -290,7 +288,6 @@ function runTest(port, testIndex) {
|
||||
return;
|
||||
}
|
||||
|
||||
connections++;
|
||||
if (c.authorized) {
|
||||
console.error(prefix + '- authed connection: ' +
|
||||
c.getPeerCertificate().subject.CN);
|
||||
|
||||
Reference in new issue
Block a user