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>
});
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));
}));