aboutsummaryrefslogtreecommitdiffstats
path: root/mod/zfinger.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-23 02:45:21 -0700
committerfriendica <info@friendica.com>2014-08-23 02:45:21 -0700
commit5d2dc4e8fdb62785cf306496c7cdcefb31d4a0ed (patch)
tree74c8a8635ca9aeaf86e48d33b6b86fdf39b3627f /mod/zfinger.php
parent9196c9eef091e7f4a41fbc9452521d6ca2de55a3 (diff)
downloadvolse-hubzilla-5d2dc4e8fdb62785cf306496c7cdcefb31d4a0ed.tar.gz
volse-hubzilla-5d2dc4e8fdb62785cf306496c7cdcefb31d4a0ed.tar.bz2
volse-hubzilla-5d2dc4e8fdb62785cf306496c7cdcefb31d4a0ed.zip
switch everything over to crypto_encapsulate()
Diffstat (limited to 'mod/zfinger.php')
-rw-r--r--mod/zfinger.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/zfinger.php b/mod/zfinger.php
index cf8a3fda1..ef55085d6 100644
--- a/mod/zfinger.php
+++ b/mod/zfinger.php
@@ -203,7 +203,7 @@ function zfinger_init(&$a) {
$permissions['connected'] = true;
}
- $ret['permissions'] = (($ztarget && $zkey) ? aes_encapsulate(json_encode($permissions),$zkey) : $permissions);
+ $ret['permissions'] = (($ztarget && $zkey) ? crypto_encapsulate(json_encode($permissions),$zkey) : $permissions);
if($permissions['view_profile'])
$ret['profile'] = $profile;