mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test: fix error message check for openssl-1.0.2a
openssl-1.0.2a does not include function name of SSL3_GET_CLIENT_HELLO in the error message Fixes: https://github.com/iojs/io.js/issues/589 PR-URL: https://github.com/iojs/io.js/pull/1389 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
@@ -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));
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user