From f438ca997d86c3324aac5f5deb4a838a3c7df8d9 Mon Sep 17 00:00:00 2001 From: Parth Verma Date: Thu, 11 Jul 2024 16:01:26 -0700 Subject: [PATCH] Fixed failing tests --- tests/test-tunnel-response.js | 6 +++--- tests/test-tunnel.js | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/test-tunnel-response.js b/tests/test-tunnel-response.js index 2c6db11ed..63db5dec8 100644 --- a/tests/test-tunnel-response.js +++ b/tests/test-tunnel-response.js @@ -354,9 +354,9 @@ function addTests () { }, [ 'http connect to localhost:' + ss2.port, // it should bubble up the key mismatch error - process.versions.node.split('.')[0] < 18 ? 'err error:05800074:x509 certificate routines::key values mismatch' - : 'err error:05800074:x509 certificate routines::key values mismatch' - ]) + process.versions.node.split('.')[0] < 18 + ? 'err error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch' + : 'err error:05800074:x509 certificate routines::key values mismatch' ]) } tape('setup', function (t) { diff --git a/tests/test-tunnel.js b/tests/test-tunnel.js index 17d54fdf5..14bc1d3a9 100644 --- a/tests/test-tunnel.js +++ b/tests/test-tunnel.js @@ -485,7 +485,8 @@ function addTests () { }, [ 'http connect to localhost:' + ss2.port, // it should bubble up the key mismatch error - process.versions.node.split('.')[0] < 18 ? 'err error:05800074:x509 certificate routines::key values mismatch' + process.versions.node.split('.')[0] < 18 + ? 'err error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch' : 'err error:05800074:x509 certificate routines::key values mismatch' ]) }