Skip to content

Commit

Permalink
Use more compatible SSL method
Browse files Browse the repository at this point in the history
  • Loading branch information
kanongil committed Feb 23, 2015
1 parent 12011cd commit 3e13456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3e13456

Please sign in to comment.