Skip to content

Commit

Permalink
test: remove unnecessary code
Browse files Browse the repository at this point in the history
The following tests

- `test/parallel/test-https-client-renegotiation-limit.js`
- `test/parallel/test-tls-alert-handling.js`
- `test/parallel/test-tls-ocsp-callback.js`

no longer use the OpenSSL CLI.

Refs: nodejs#56714 (comment)
  • Loading branch information
lpinca committed Jan 27, 2025
1 parent 50d405a commit 4edefc2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 17 deletions.
6 changes: 0 additions & 6 deletions test/parallel/test-https-client-renegotiation-limit.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ if (!common.hasCrypto) {
common.skip('missing crypto');
}

const { opensslCli } = require('../common/crypto');

if (!opensslCli) {
common.skip('node compiled without OpenSSL CLI.');
}

const assert = require('assert');
const tls = require('tls');
const https = require('https');
Expand Down
5 changes: 0 additions & 5 deletions test/parallel/test-tls-alert-handling.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,8 @@ if (!common.hasCrypto) {
const {
hasOpenSSL,
hasOpenSSL3,
opensslCli,
} = require('../common/crypto');

if (!opensslCli) {
common.skip('node compiled without OpenSSL CLI');
}

const assert = require('assert');
const net = require('net');
const tls = require('tls');
Expand Down
6 changes: 0 additions & 6 deletions test/parallel/test-tls-ocsp-callback.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ if (!common.hasCrypto) {
common.skip('missing crypto');
}

const { opensslCli } = require('../common/crypto');

if (!opensslCli) {
common.skip('node compiled without OpenSSL CLI.');
}

const crypto = require('crypto');
const tls = require('tls');
const fixtures = require('../common/fixtures');
Expand Down

0 comments on commit 4edefc2

Please sign in to comment.