1
0
Fork 0

Merge branch 'develop' into rewrites/coding-convention-split2

This commit is contained in:
Roland Häder 2017-04-01 22:16:08 +02:00 committed by GitHub
commit 49527b70d3
93 changed files with 11433 additions and 33261 deletions

View file

@ -185,10 +185,10 @@ function dfrn_confirm_post(App $a, $handsfree = null) {
*
*/
$src_aes_key = random_string();
$src_aes_key = openssl_random_pseudo_bytes(64);
$result = '';
openssl_private_encrypt($dfrn_id,$result,$user[0]['prvkey']);
openssl_private_encrypt($dfrn_id, $result, $user[0]['prvkey']);
$params['dfrn_id'] = bin2hex($result);
$params['public_key'] = $public_key;