From 3e13456faee5a97ec6cece06fad1529f44e780b0 Mon Sep 17 00:00:00 2001 From: Gil Pedersen Date: Mon, 23 Feb 2015 17:22:29 +0100 Subject: [PATCH] Use more compatible SSL method --- test/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/index.js b/test/index.js index 975bd36..c382959 100755 --- a/test/index.js +++ b/test/index.js @@ -211,7 +211,7 @@ describe('request()', function () { it('requests an https resource with secure protocol set', function (done) { - Wreck.request('get', 'https://google.com', { rejectUnauthorized: true, secureProtocol: 'SSLv3_method' }, function (err, res) { + Wreck.request('get', 'https://google.com', { rejectUnauthorized: true, secureProtocol: 'SSLv23_method' }, function (err, res) { expect(err).to.not.exist(); Wreck.read(res, null, function (err, body) {