Unverified Commit ff30e59b authored by Nathan Van Overloop's avatar Nathan Van Overloop
Browse files

centralnic/issues#3769: move to TLS

parent 86f379f0
......@@ -76,7 +76,7 @@
function connect($host, $port=700, $timeout=1, $ssl=true, $context=NULL) {
if($this->debug) debug_log("in connect");
$target = sprintf('%s://%s:%d', ($ssl === true ? 'ssl' : 'tcp'), $host, $port);
$target = sprintf('%s://%s:%d', ($ssl === true ? 'tls' : 'tcp'), $host, $port);
if($this->debug) debug_log("connecting to {$target}");
if (is_resource($context)) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment