debian openssl in testing or sid (3.0.11, 3.1.4) does not seem to have that different...
authorJérémy Lal <kapouer@melix.org>
Sun, 3 Dec 2023 21:41:14 +0000 (22:41 +0100)
committerJérémy Lal <kapouer@melix.org>
Sun, 3 Dec 2023 21:41:14 +0000 (22:41 +0100)
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

index 3b738b7f47ec59ba718a92e3a0024fed45a9c87c..7c6d3d7ac20d23970218c4346814aadf3ebe0781 100644 (file)
@@ -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' });
+               */
   }
 }