Browse Source

test: fix crypto-stream after openssl update

PR-URL: https://github.com/iojs/io.js/pull/289
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
v1.8.0-commit
Fedor Indutny 10 years ago
parent
commit
a76811c811
  1. 2
      test/parallel/test-crypto-stream.js

2
test/parallel/test-crypto-stream.js

@ -70,7 +70,7 @@ var key = new Buffer('48fb56eb10ffeb13fc0ef551bbca3b1b', 'hex'),
cipher.pipe(decipher) cipher.pipe(decipher)
.on('error', common.mustCall(function end(err) { .on('error', common.mustCall(function end(err) {
assert(/Unsupported/.test(err)); assert(/bad decrypt/.test(err));
})); }));
cipher.end('Papaya!'); // Should not cause an unhandled exception. cipher.end('Papaya!'); // Should not cause an unhandled exception.

Loading…
Cancel
Save