summaryrefslogtreecommitdiff
path: root/test/parallel/test-tls-passphrase.js
diff options
context:
space:
mode:
authorShigeki Ohtsu <ohtsu@ohtsu.org>2018-08-15 00:03:03 +0900
committerRod Vagg <rod@vagg.org>2018-08-16 11:52:38 +1000
commit19246de748ccc529751a78c87ae44066feffd9c0 (patch)
tree29f83905ab9085633c772be1f1bf2db5b03713c9 /test/parallel/test-tls-passphrase.js
parenteaa0ad97872ac1becf437c14909afe7a01b77364 (diff)
downloadandroid-node-v8-19246de748ccc529751a78c87ae44066feffd9c0.tar.gz
android-node-v8-19246de748ccc529751a78c87ae44066feffd9c0.tar.bz2
android-node-v8-19246de748ccc529751a78c87ae44066feffd9c0.zip
test: fix error messages for OpenSSL-1.1.0i
After upgradeing OpenSSL-1.1.0i, two tests are failed due to changes of error messages. Ref: https://github.com/openssl/openssl/commit/45ae18b38401a027f231f1408e71b13ff3111021 Ref: https://github.com/openssl/openssl/commit/36d2517a97f6020049116492b4d5491d177e629c PR-URL: https://github.com/nodejs/node/pull/22318 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org>
Diffstat (limited to 'test/parallel/test-tls-passphrase.js')
-rw-r--r--test/parallel/test-tls-passphrase.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-tls-passphrase.js b/test/parallel/test-tls-passphrase.js
index b183309af7..6ed19c74d2 100644
--- a/test/parallel/test-tls-passphrase.js
+++ b/test/parallel/test-tls-passphrase.js
@@ -221,7 +221,7 @@ server.listen(0, common.mustCall(function() {
}, common.mustCall());
})).unref();
-const errMessagePassword = /bad password read/;
+const errMessagePassword = /bad decrypt/;
// Missing passphrase
assert.throws(function() {