Blame moodle-CVE-2012-6087.patch
|
|
97d4aa9 |
--- repository/s3/S3.php~ 2013-01-11 15:23:29.000000000 -0600
|
|
|
97d4aa9 |
+++ repository/s3/S3.php 2013-01-15 10:44:57.970002263 -0600
|
|
|
97d4aa9 |
@@ -1809,7 +1809,7 @@
|
|
|
97d4aa9 |
if (S3::$useSSL)
|
|
|
97d4aa9 |
{
|
|
|
97d4aa9 |
// SSL Validation can now be optional for those with broken OpenSSL installations
|
|
|
97d4aa9 |
- curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, S3::$useSSLValidation ? 1 : 0);
|
|
|
97d4aa9 |
+ curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, S3::$useSSLValidation ? 2 : 0);
|
|
|
97d4aa9 |
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, S3::$useSSLValidation ? 1 : 0);
|
|
|
97d4aa9 |
|
|
|
97d4aa9 |
if (S3::$sslKey !== null) curl_setopt($curl, CURLOPT_SSLKEY, S3::$sslKey);
|