mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-10 17:14:26 +02:00
use "random_bytes" instead of "openssl_random_pseudo_bytes"
This commit is contained in:
parent
cfb9b73205
commit
74f3c885bf
5 changed files with 8 additions and 8 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue