From: Jérémy Lal Date: Sat, 18 May 2024 12:26:22 +0000 (+0200) Subject: debian openssl in testing or sid (3.0.11, 3.1.4) does not seem to have that different... X-Git-Tag: archive/raspbian/20.14.0+dfsg-1+rpi1^2^2~27 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=836e250e08d4759c88b79c35e86360094e13fd94;p=nodejs.git 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 --- 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' }); + */ } }