Skip to content

Commit 693b73c

Browse files
authored
Merge pull request #68 from gries/fix_curlopt_ssl_default_value
Change default value of CURLOPT_SSLVERSION
2 parents f78c4e7 + a933323 commit 693b73c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/Types/CurlOptionsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function setUp() {
5656
CURLOPT_TIMEOUT => 25,
5757
CURLOPT_CONNECTTIMEOUT => 25,
5858
CURLOPT_CRLF => true,
59-
CURLOPT_SSLVERSION => 3,
59+
CURLOPT_SSLVERSION => 0,
6060
CURLOPT_FOLLOWLOCATION => true,
6161
];
6262
}

Types/CurlOptions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class CurlOptions extends \ArrayObject {
3737
CURLOPT_TIMEOUT => 25,
3838
CURLOPT_CONNECTTIMEOUT => 25,
3939
CURLOPT_CRLF => true,
40-
CURLOPT_SSLVERSION => 3,
40+
CURLOPT_SSLVERSION => 0,
4141
CURLOPT_FOLLOWLOCATION => true,
4242
];
4343

0 commit comments

Comments
 (0)