mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
test: adapt tests for OpenSSL 3.1
PR-URL: https://github.com/nodejs/node/pull/47859 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Richard Lau <rlau@redhat.com>
This commit is contained in:
1 parent
3b00f3afef
commit
9875885357
6 files changed
+24
-4
No files matched your search
@@ -56,6 +56,7 @@ function faultyServer(port) {
|
||||
function second(server, session) {
|
||||
const req = https.request({
|
||||
port: server.address().port,
|
||||
ciphers: (common.hasOpenSSL31 ? 'DEFAULT:@SECLEVEL=0' : 'DEFAULT'),
|
||||
rejectUnauthorized: false
|
||||
}, function(res) {
|
||||
res.resume();
|
||||
|
||||
Reference in new issue
Block a user