From 72d86d7b0d1f94779339a0cf50e369bfcce5493a Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9my=20Lal?= Date: Wed, 19 Jun 2024 12:03:27 +0200 Subject: [PATCH] debian openssl in testing or sid (3.0.11, 3.1.4) does not seem to have that different behavior Last-Update: 2023-11-03 Gbp-Pq: Topic build Gbp-Pq: Name openssl_3011_without_new_error_message.patch --- test/parallel/test-crypto-dh.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/parallel/test-crypto-dh.js b/test/parallel/test-crypto-dh.js index 3b738b7f4..7c6d3d7ac 100644 --- a/test/parallel/test-crypto-dh.js +++ b/test/parallel/test-crypto-dh.js @@ -86,6 +86,7 @@ const crypto = require('crypto'); } { + /* const v = crypto.constants.OPENSSL_VERSION_NUMBER; const hasOpenSSL3WithNewErrorMessage = (v >= 0x300000c0 && v <= 0x30100000) || (v >= 0x30100040 && v <= 0x30200000); assert.throws(() => { @@ -93,6 +94,7 @@ const crypto = require('crypto'); }, { message: common.hasOpenSSL3 && !hasOpenSSL3WithNewErrorMessage ? 'error:02800080:Diffie-Hellman routines::invalid secret' : 'Supplied key is too small' }); + */ } } -- 2.30.2