From: Hypolite Petovan Date: Fri, 19 Jan 2018 17:06:09 +0000 (-0500) Subject: Remove reference to RINO version 2 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=98344a9d08c84c82c2d3244c613e4a287f4fde19;p=friendica.git Remove reference to RINO version 2 --- diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index 60b093159c..0d92d598cf 100644 --- a/src/Protocol/DFRN.php +++ b/src/Protocol/DFRN.php @@ -1294,11 +1294,6 @@ class DFRN switch ($rino_remote_version) { case 1: - case 2: - // Force downgrade in case the remote server is still using the deprecated version 2 - $rino = 1; - $rino_remote_version = 1; - $key = openssl_random_pseudo_bytes(16); $data = self::aesEncrypt($postvars['data'], $key); break;