From 7ccb0422fce8bde6e83a0455a7451c678f6659dd 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 e3c7fd9dc62622..b503ff7fba3748 100644 --- a/test/parallel/test-tls-passphrase.js +++ b/test/parallel/test-tls-passphrase.js @@ -200,7 +200,7 @@ server.listen(0, common.mustCall(function() { }, common.mustCall()); })).unref(); -const errMessagePassword = /bad password read/; +const errMessagePassword = /bad decrypt/; // Missing passphrase assert.throws(function() {