Skip to content

Commit

Permalink
test: fix crypto-stream after openssl update
Browse files Browse the repository at this point in the history
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Timothy J Fontaine <tjfontaine@gmail.com>
Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
  • Loading branch information
indutny authored and Julien Gilli committed Jan 21, 2015
1 parent f5e9b6e commit 9e387fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/simple/test-crypto-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ var key = new Buffer('48fb56eb10ffeb13fc0ef551bbca3b1b', 'hex'),

cipher.pipe(decipher)
.on('error', common.mustCall(function end(err) {
assert(/:00000000:/.test(err));
assert(/bad decrypt/.test(err));
}));

cipher.end('Papaya!'); // Should not cause an unhandled exception.

0 comments on commit 9e387fb

Please sign in to comment.