From a76811c811f8e1602181f1c4368370c192adff0c Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Sun, 11 Jan 2015 16:08:27 +0300 Subject: [PATCH] test: fix crypto-stream after openssl update PR-URL: https://github.com/iojs/io.js/pull/289 Reviewed-By: Ben Noordhuis --- test/parallel/test-crypto-stream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-crypto-stream.js b/test/parallel/test-crypto-stream.js index ff58e8040b8..34eb3c18d8d 100644 --- a/test/parallel/test-crypto-stream.js +++ b/test/parallel/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(/Unsupported/.test(err)); + assert(/bad decrypt/.test(err)); })); cipher.end('Papaya!'); // Should not cause an unhandled exception.