Skip to content

Commit 0d65afe

Browse files
committed
test,crypto: fix conditional SHA3-* skip on BoringSSL
1 parent daf0a44 commit 0d65afe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-webcrypto-sign-verify-rsa.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ async function testSaltLength(keyLength, hash, hLen) {
245245
['SHA3-384', 48],
246246
['SHA3-512', 64],
247247
]) {
248-
if (hash.startsWith('SHA-3') && !process.features.openssl_is_boringssl) {
248+
if (hash.startsWith('SHA3-') && !process.features.openssl_is_boringssl) {
249249
variations.push(testSaltLength(keyLength, hash, hLen));
250250
}
251251
}

0 commit comments

Comments
 (0)