From 83cf11dd956c0fbb84c1c50c643b43a3824dc6da Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 2 Nov 2012 00:19:04 -0700 Subject: fixed the hash, now onward & upward --- mod/zfinger.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mod/zfinger.php') 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']; -- cgit v1.2.3