aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorKilian <kilian@mirdan.de>2016-01-10 19:22:45 +0100
committerKilian <kilian@mirdan.de>2016-01-10 19:33:45 +0100
commitad34b8782432467912a95a8b54701a8e4116fdf7 (patch)
treef9774d58a19f998452b24951fabd019f1aeb9a57 /phpBB/phpbb
parent49f8192ba264651ec2dcfc2b0e1b807a7e2b1023 (diff)
downloadforums-ad34b8782432467912a95a8b54701a8e4116fdf7.tar
forums-ad34b8782432467912a95a8b54701a8e4116fdf7.tar.gz
forums-ad34b8782432467912a95a8b54701a8e4116fdf7.tar.bz2
forums-ad34b8782432467912a95a8b54701a8e4116fdf7.tar.xz
forums-ad34b8782432467912a95a8b54701a8e4116fdf7.zip
[ticket/12618] Change ssl:// to tls://
PHPBB3-12618
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/file_downloader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/file_downloader.php b/phpBB/phpbb/file_downloader.php
index 403ca5bc83..ab9505a14c 100644
--- a/phpBB/phpbb/file_downloader.php
+++ b/phpBB/phpbb/file_downloader.php
@@ -42,7 +42,7 @@ class file_downloader
$this->error_number = 0;
$this->error_string = '';
- if ($socket = @fsockopen(($port == 443 ? 'ssl://' : '') . $host, $port, $this->error_number, $this->error_string, $timeout))
+ if ($socket = @fsockopen(($port == 443 ? 'tls://' : '') . $host, $port, $this->error_number, $this->error_string, $timeout))
{
@fputs($socket, "GET $directory/$filename HTTP/1.0\r\n");
@fputs($socket, "HOST: $host\r\n");