summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedor Indutny <fedor@indutny.com>2015-01-11 16:08:27 +0300
committerJulien Gilli <julien.gilli@joyent.com>2015-01-21 11:39:55 -0800
commit9e387fb611e29aad3118e0b226199fdc70bbd0cd (patch)
tree017d02012d0efbab6700452d2b65a9167ac815b4
parentf5e9b6e84a47a6990bd3b44d004026a6f0faaba2 (diff)
downloadnode-9e387fb611e29aad3118e0b226199fdc70bbd0cd.tar.gz
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>
-rw-r--r--test/simple/test-crypto-stream.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/simple/test-crypto-stream.js b/test/simple/test-crypto-stream.js
index 402761e1b..34eb3c18d 100644
--- a/test/simple/test-crypto-stream.js
+++ b/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.