This commit is contained in:
parent
c57e7a4279
commit
f1bab96069
@ -81,3 +81,16 @@ Index: node-v21.2.0/tools/test.py
|
|||||||
result.add_option("--arch", help='The architecture to run tests for',
|
result.add_option("--arch", help='The architecture to run tests for',
|
||||||
default='none')
|
default='none')
|
||||||
result.add_option("--snapshot", help="Run the tests with snapshot turned on",
|
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)/ });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user