This commit is contained in:
@@ -81,3 +81,16 @@ Index: node-v20.8.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-v20.8.0/test/parallel/test-crypto-dh.js
|
||||
===================================================================
|
||||
--- node-v20.8.0.orig/test/parallel/test-crypto-dh.js
|
||||
+++ node-v20.8.0/test/parallel/test-crypto-dh.js
|
||||
@@ -89,7 +89,7 @@ const crypto = require('crypto');
|
||||
dh3.computeSecret('');
|
||||
}, { message: common.hasOpenSSL3 ?
|
||||
'error:02800080:Diffie-Hellman routines::invalid secret' :
|
||||
- 'Supplied key is too small' });
|
||||
+ /(error:05066066:Diffie-Hellman routines:compute_key:invalid public key|Supplied key is too small)/ });
|
||||
}
|
||||
|
||||
// Through a fluke of history, g=0 defaults to DH_GENERATOR (2).
|
||||
|
Reference in New Issue
Block a user