We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6ac192 commit 8377374Copy full SHA for 8377374
test/parallel/test-tls-alpn-server-client.js
@@ -6,10 +6,10 @@ if (!common.hasCrypto) {
6
return;
7
}
8
9
-if (!process.features.tls_alpn) {
10
- console.error('Skipping because node compiled without OpenSSL or ' +
11
- 'with old OpenSSL version.');
12
- process.exit(0);
+if (!process.features.tls_alpn || !process.features.tls_npn) {
+ common.skip('Skipping because node compiled without NPN or ALPN' +
+ ' feature of OpenSSL.');
+ return;
13
14
15
const assert = require('assert');
test/parallel/test-tls-npn-server-client.js
@@ -1,8 +1,8 @@
1
'use strict';
2
const common = require('../common');
3
if (!process.features.tls_npn) {
4
- common.skip('node compiled without OpenSSL or ' +
5
+ common.skip('Skipping because node compiled without NPN feature of' +
+ ' OpenSSL.');
0 commit comments