Skip to content

Commit

Permalink
test: fix error messages for OpenSSL-1.0.2p
Browse files Browse the repository at this point in the history
After upgradeing OpenSSL-1.0.2p, test-tls-passphrase.js was failed
due to change of error messages.

Ref: openssl/openssl@18026c0
PR-URL: #22320
Reviewed-By: Rod Vagg <[email protected]>
  • Loading branch information
shigeki authored and rvagg committed Aug 15, 2018
1 parent 8f59838 commit 3139897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-tls-passphrase.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 3139897

Please sign in to comment.