Skip to content

Commit 2c2e4a4

Browse files
lpincatargos
authored andcommitted
test: remove unnecessary code
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: #56714 (comment) PR-URL: #56784 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Richard Lau <[email protected]>
1 parent fe00411 commit 2c2e4a4

3 files changed

+0
-17
lines changed

test/parallel/test-https-client-renegotiation-limit.js

-6
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ if (!common.hasCrypto) {
2525
common.skip('missing crypto');
2626
}
2727

28-
const { opensslCli } = require('../common/crypto');
29-
30-
if (!opensslCli) {
31-
common.skip('node compiled without OpenSSL CLI.');
32-
}
33-
3428
const assert = require('assert');
3529
const tls = require('tls');
3630
const https = require('https');

test/parallel/test-tls-alert-handling.js

-5
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,8 @@ if (!common.hasCrypto) {
88
const {
99
hasOpenSSL,
1010
hasOpenSSL3,
11-
opensslCli,
1211
} = require('../common/crypto');
1312

14-
if (!opensslCli) {
15-
common.skip('node compiled without OpenSSL CLI');
16-
}
17-
1813
const assert = require('assert');
1914
const net = require('net');
2015
const tls = require('tls');

test/parallel/test-tls-ocsp-callback.js

-6
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ if (!common.hasCrypto) {
2626
common.skip('missing crypto');
2727
}
2828

29-
const { opensslCli } = require('../common/crypto');
30-
31-
if (!opensslCli) {
32-
common.skip('node compiled without OpenSSL CLI.');
33-
}
34-
3529
const crypto = require('crypto');
3630
const tls = require('tls');
3731
const fixtures = require('../common/fixtures');

0 commit comments

Comments
 (0)