Skip to content

Commit

Permalink
Update fred.php
Browse files Browse the repository at this point in the history
  • Loading branch information
getpinga authored Jan 12, 2023
1 parent d537f44 commit 1db589a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fred.php
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,8 @@ public function modifyContact(Registrar_Domain $domain)
</contact:addr>
</contact:postalInfo>
<contact:voice>{{ phonenumber }}</contact:voice>
<contact:fax></contact:fax>
<contact:fax></contact:fax>
<contact:voice>{{ email }}</contact:voice>
</contact:chg>
</contact:update>
</update>
Expand Down Expand Up @@ -1148,7 +1149,7 @@ public function connect()
)
);
$context = stream_context_create($opts);
$this->socket = stream_socket_client("tlsv1.3://{$host}:{$port}", $errno, $errmsg, $timeout, STREAM_CLIENT_CONNECT, $context);
$this->socket = stream_socket_client("tlsv1.2://{$host}:{$port}", $errno, $errmsg, $timeout, STREAM_CLIENT_CONNECT, $context);

if (!$this->socket) {
throw new exception("Cannot connect to server '{$host}': {$errmsg}");
Expand Down

0 comments on commit 1db589a

Please sign in to comment.