X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fdfrn_confirm.php;h=47cc09326f7101ecedccf675ab4aa23d2f0bd299;hb=48a783c91a4fdff2182deb5d137712386f9f3086;hp=164198c9d4ba58a1dbbc59bc031b34df9f1b1c98;hpb=befc2af5043a3afde251721c0d27df695db1bb7e;p=friendica.git diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index 164198c9d4..47cc09326f 100644 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -181,7 +181,7 @@ function dfrn_confirm_post(App $a, $handsfree = null) * random key which is encrypted with their site public key. */ - $src_aes_key = openssl_random_pseudo_bytes(64); + $src_aes_key = random_bytes(64); $result = ''; openssl_private_encrypt($dfrn_id, $result, $user['prvkey']);