MDL-57704 ltiprovider: Don't force SSLv3

This commit is contained in:
John Okely
2017-05-02 09:34:01 +08:00
parent 75528e9305
commit 6b50178e4e
2 changed files with 7 additions and 2 deletions
+7 -1
View File
@@ -30,7 +30,13 @@ unzip 3.0.3.zip
3) Move the source code directory into place
mv LTI-Tool-Provider-Library-PHP-3.0.3/* lib/ltiprovider/
4) Run unit tests on enrol_lti_testsuite
4) Updates
Check that the following pull request is included in the release.
Then remove this step from this file.
https://github.com/IMSGlobal/LTI-Tool-Provider-Library-PHP/pull/13
If not, apply manually.
5) Run unit tests on enrol_lti_testsuite
Upgrading Notes
---------------
-1
View File
@@ -132,7 +132,6 @@ class HTTPMessage
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLINFO_HEADER_OUT, true);
curl_setopt($ch, CURLOPT_HEADER, true);
curl_setopt($ch, CURLOPT_SSLVERSION,3);
$chResp = curl_exec($ch);
$this->ok = $chResp !== false;
if ($this->ok) {