Skip to content

Commit 3560b96

Browse files
panvaaduh95
authored andcommitted
test: deflake test-webcrypto-crypto-job-mode
Signed-off-by: Filip Skokan <panva.ip@gmail.com> PR-URL: #63543 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 16015f1 commit 3560b96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/parallel/test-webcrypto-crypto-job-mode.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ async function withObjectPrototypeSetters(names, fn) {
163163
{name: 'AES-CBC', iv },
164164
key,
165165
Buffer.alloc(16)));
166-
ciphertext[ciphertext.length-1]^=0xff;
166+
ciphertext[0]^=0xff;
167167

168168
awaitassert.rejects(
169169
subtle.decrypt({name: 'AES-CBC', iv },key,ciphertext),

0 commit comments

Comments
 (0)