SHA256
1
0
forked from autogits/nodejs21
Adam Majer 2023-11-20 10:20:05 +00:00 committed by Git OBS Bridge
parent c57e7a4279
commit f1bab96069

View File

@ -81,3 +81,16 @@ Index: node-v21.2.0/tools/test.py
result.add_option("--arch", help='The architecture to run tests for',
default='none')
result.add_option("--snapshot", help="Run the tests with snapshot turned on",
Index: node-v21.2.0/test/parallel/test-crypto-dh.js
===================================================================
--- node-v21.2.0.orig/test/parallel/test-crypto-dh.js
+++ node-v21.2.0/test/parallel/test-crypto-dh.js
@@ -92,7 +92,7 @@ const crypto = require('crypto');
dh3.computeSecret('');
}, { message: common.hasOpenSSL3 && !hasOpenSSL3WithNewErrorMessage ?
'error:02800080:Diffie-Hellman routines::invalid secret' :
- 'Supplied key is too small' });
+ /(Supplied key is too small|invalid public key)/ });
}
}