aboutsummaryrefslogtreecommitdiffstats
path: root/mod/zfinger.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-07-14 21:21:24 -0700
committerfriendica <info@friendica.com>2014-07-14 21:21:24 -0700
commit1accf82bd10f73b22e0c169100932ccfbd81977b (patch)
tree63ddb9e00eee14118254e7cf08a9322ae5cc8add /mod/zfinger.php
parentf710ebc7f97845f48cefc3d01acf6793c86f5652 (diff)
downloadvolse-hubzilla-1accf82bd10f73b22e0c169100932ccfbd81977b.tar.gz
volse-hubzilla-1accf82bd10f73b22e0c169100932ccfbd81977b.tar.bz2
volse-hubzilla-1accf82bd10f73b22e0c169100932ccfbd81977b.zip
clean up more code duplication
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 bd1463591..d1493da03 100644
--- a/mod/zfinger.php
+++ b/mod/zfinger.php
@@ -188,7 +188,7 @@ function zfinger_init(&$a) {
$ret['follow_url'] = z_root() . '/follow?f=&url=%s';
$ztarget_hash = (($ztarget && $zsig)
- ? base64url_encode(hash('whirlpool',$ztarget . $zsig,true))
+ ? make_xchan_hash($ztarget,$zsig)
: '' );
$permissions = get_all_perms($e['channel_id'],$ztarget_hash,false);