Skip to content

Commit

Permalink
test: fix error message check for openssl-1.0.2a
Browse files Browse the repository at this point in the history
openssl-1.0.2a does not include function name of SSL3_GET_CLIENT_HELLO
in the error message
  • Loading branch information
Shigeki Ohtsu committed Apr 10, 2015
1 parent 2a925d5 commit 5f532c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-tls-no-sslv3.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ server.listen(common.PORT, '127.0.0.1', function() {
});

server.once('clientError', common.mustCall(function(err, conn) {
assert(/SSL3_GET_CLIENT_HELLO:wrong version number/.test(err.message));
assert(/:wrong version number/.test(err.message));
}));

0 comments on commit 5f532c2

Please sign in to comment.