From 6b50178e4e0eda4c8be0af014f35890ae491f6fd Mon Sep 17 00:00:00 2001 From: John Okely Date: Tue, 2 May 2017 09:11:23 +0800 Subject: [PATCH] MDL-57704 ltiprovider: Don't force SSLv3 --- lib/ltiprovider/readme_moodle.txt | 8 +++++++- lib/ltiprovider/src/HTTPMessage.php | 1 - 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/ltiprovider/readme_moodle.txt b/lib/ltiprovider/readme_moodle.txt index 76579e1eaa3..d36fe171d38 100644 --- a/lib/ltiprovider/readme_moodle.txt +++ b/lib/ltiprovider/readme_moodle.txt @@ -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 --------------- diff --git a/lib/ltiprovider/src/HTTPMessage.php b/lib/ltiprovider/src/HTTPMessage.php index 3c043bbcb00..bd203029deb 100644 --- a/lib/ltiprovider/src/HTTPMessage.php +++ b/lib/ltiprovider/src/HTTPMessage.php @@ -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) {