SHA256
1
0
2023-10-06 13:36:46 +00:00
committed by Git OBS Bridge
parent 4144c6be62
commit 64df2543c1

View File

@@ -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).