From 5f532c2850555582595eff825ea5aff362d8538e Mon Sep 17 00:00:00 2001 From: Shigeki Ohtsu Date: Thu, 5 Feb 2015 16:16:00 +0900 Subject: [PATCH] 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 --- test/parallel/test-tls-no-sslv3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-tls-no-sslv3.js b/test/parallel/test-tls-no-sslv3.js index dbe19957306017..0fc0dcc3ae3fea 100644 --- a/test/parallel/test-tls-no-sslv3.js +++ b/test/parallel/test-tls-no-sslv3.js @@ -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)); }));