Browse Source

test: fix crypto-stream after openssl update

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>
v0.10.36-release
Fedor Indutny 10 years ago
committed by Julien Gilli
parent
commit
9e387fb611
  1. 2
      test/simple/test-crypto-stream.js

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

@ -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.

Loading…
Cancel
Save