From 3139897ff556a4dfa169e8de7bcb7ed55d5b9e53 Mon Sep 17 00:00:00 2001 From: Shigeki Ohtsu Date: Wed, 15 Aug 2018 01:08:51 +0900 Subject: [PATCH] test: fix error messages for OpenSSL-1.0.2p After upgradeing OpenSSL-1.0.2p, test-tls-passphrase.js was failed due to change of error messages. Ref: https://github.com/openssl/openssl/commit/18026c0215e942f0ad33a6012cb8cad2f51f841b PR-URL: https://github.com/nodejs/node/pull/22320 Reviewed-By: Rod Vagg --- test/parallel/test-tls-passphrase.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {