test: fix crypto-stream after openssl update
PR-URL: https://github.com/iojs/io.js/pull/289 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
parent
ced41b07dd
commit
a76811c811
@ -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…
x
Reference in New Issue
Block a user