]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/DFRN.php
Merge remote-tracking branch 'upstream/develop' into api-lists-missing
[friendica.git] / src / Protocol / DFRN.php
index d20b8949b89aaae37baae0b584f4e1fb18d64ad9..2cb83627ace2a4ba5d5ff830e375456cf486f229 100644 (file)
@@ -1272,7 +1272,7 @@ class DFRN
 
                        switch ($rino_remote_version) {
                                case 1:
-                                       $key = openssl_random_pseudo_bytes(16);
+                                       $key = random_bytes(16);
                                        $data = self::aesEncrypt($postvars['data'], $key);
                                        break;