diff options
author | Tobias Nießen <tniessen@tnie.de> | 2017-12-31 17:39:30 +0100 |
---|---|---|
committer | Tobias Nießen <tniessen@tnie.de> | 2018-01-03 18:22:48 +0100 |
commit | 8951fcff2badadd23463d78a113bea8a7de6fdd4 (patch) | |
tree | a2469f6b1ca19ccceede63883a8bd1f9c1112a3c /test/parallel/test-crypto-cipher-decipher.js | |
parent | ce22d6f9178507c7a41b04ac4097b9ea902049e3 (diff) | |
download | android-node-v8-8951fcff2badadd23463d78a113bea8a7de6fdd4.tar.gz android-node-v8-8951fcff2badadd23463d78a113bea8a7de6fdd4.tar.bz2 android-node-v8-8951fcff2badadd23463d78a113bea8a7de6fdd4.zip |
test: update references to archived repository
PR-URL: https://github.com/nodejs/node/pull/17924
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'test/parallel/test-crypto-cipher-decipher.js')
-rw-r--r-- | test/parallel/test-crypto-cipher-decipher.js | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/test/parallel/test-crypto-cipher-decipher.js b/test/parallel/test-crypto-cipher-decipher.js index 1e84d2ab00..e17ff23834 100644 --- a/test/parallel/test-crypto-cipher-decipher.js +++ b/test/parallel/test-crypto-cipher-decipher.js @@ -145,7 +145,8 @@ testCipher2(Buffer.from('0123456789abcdef')); }); } -// Base64 padding regression test, see #4837. +// Base64 padding regression test, see +// https://github.com/nodejs/node-v0.x-archive/issues/4837. { const c = crypto.createCipher('aes-256-cbc', 'secret'); const s = c.update('test', 'utf8', 'base64') + c.final('base64'); @@ -153,7 +154,7 @@ testCipher2(Buffer.from('0123456789abcdef')); } // Calling Cipher.final() or Decipher.final() twice should error but -// not assert. See #4886. +// not assert. See https://github.com/nodejs/node-v0.x-archive/issues/4886. { const c = crypto.createCipher('aes-256-cbc', 'secret'); try { c.final('xxx'); } catch (e) { /* Ignore. */ } @@ -165,14 +166,16 @@ testCipher2(Buffer.from('0123456789abcdef')); try { d.final('xxx'); } catch (e) { /* Ignore. */ } } -// Regression test for #5482: string to Cipher#update() should not assert. +// Regression test for https://github.com/nodejs/node-v0.x-archive/issues/5482: +// string to Cipher#update() should not assert. { const c = crypto.createCipher('aes192', '0123456789abcdef'); c.update('update'); c.final(); } -// #5655 regression tests, 'utf-8' and 'utf8' are identical. +// https://github.com/nodejs/node-v0.x-archive/issues/5655 regression tests, +// 'utf-8' and 'utf8' are identical. { let c = crypto.createCipher('aes192', '0123456789abcdef'); c.update('update', ''); // Defaults to "utf8". |