aboutsummaryrefslogtreecommitdiffstats
path: root/mod/zfinger.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/zfinger.php')
-rw-r--r--mod/zfinger.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/zfinger.php b/mod/zfinger.php
index c1ab8dc7d..0dd709ecc 100644
--- a/mod/zfinger.php
+++ b/mod/zfinger.php
@@ -54,6 +54,8 @@ function zfinger_init(&$a) {
// Communication details
+ $ret['hash'] = $e['xchan_hash'];
+ $ret['calc'] = base64url_encode(hash('whirlpool',$e['xchan_guid'] . $e['xchan_guid_sig'],true));
$ret['guid'] = $e['xchan_guid'];
$ret['guid_sig'] = $e['xchan_guid_sig'];
$ret['key'] = $e['xchan_pubkey'];