We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5559f3 commit 3d183e3Copy full SHA for 3d183e3
1 file changed
test/parallel/test-webcrypto-sign-verify-rsa.js
@@ -241,13 +241,13 @@ async function testSaltLength(keyLength, hash, hLen) {
241
['SHA-256', 32],
242
['SHA-384', 48],
243
['SHA-512', 64],
244
- ['SHA3-256', 32],
245
- ['SHA3-384', 48],
246
- ['SHA3-512', 64],
+ ...(!process.features.openssl_is_boringssl ? [
+ ['SHA3-256', 32],
+ ['SHA3-384', 48],
247
+ ['SHA3-512', 64],
248
+ ] : []),
249
]) {
- if (hash.startsWith('SHA-3') && !process.features.openssl_is_boringssl) {
- variations.push(testSaltLength(keyLength, hash, hLen));
250
- }
+ variations.push(testSaltLength(keyLength, hash, hLen));
251
}
252
253
0 commit comments