[PATCH] test: update parallel/test-tls-dhe for OpenSSL 3.5
authorRichard Lau <rlau@redhat.com>
Mon, 17 Mar 2025 03:42:55 +0000 (03:42 +0000)
committerJérémy Lal <kapouer@melix.org>
Thu, 1 May 2025 09:09:56 +0000 (11:09 +0200)
commitb1c98e44c84e537f635a3e099d608f6f27a5545b
treee6dd60ea889d49b845e3d1ef18dce0819efc9bbc
parentb2226c4571d9f98ee1c20950feafa01b2f91d1fa
[PATCH] test: update parallel/test-tls-dhe for OpenSSL 3.5

The output of the `s_client` command invoked by the test has changed
in the OpenSSL 3.5.0 version of `s_client`. Update the test so that
it works with both the old and new output -- the `s_client` binary
being run may not be at the exact same version of OpenSSL as used
by Node.js so the updated test allows either output.

PR-URL: https://github.com/nodejs/node/pull/57477
Refs: https://github.com/openssl/openssl/pull/26734
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Xuguang Mei <meixuguang@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Gbp-Pq: Topic build
Gbp-Pq: Name test-update-parallel-test-tls-dhe-for-OpenSSL-3.5.patch
test/parallel/test-tls-dhe.js