diff options
author | friendica <info@friendica.com> | 2012-11-02 00:19:04 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-11-02 00:19:04 -0700 |
commit | 83cf11dd956c0fbb84c1c50c643b43a3824dc6da (patch) | |
tree | 72ef390c3529b82698cc1d2466109a32bdedf4f3 /mod | |
parent | 37653a376085e7f155ec101b937583f5d08012cc (diff) | |
download | volse-hubzilla-83cf11dd956c0fbb84c1c50c643b43a3824dc6da.tar.gz volse-hubzilla-83cf11dd956c0fbb84c1c50c643b43a3824dc6da.tar.bz2 volse-hubzilla-83cf11dd956c0fbb84c1c50c643b43a3824dc6da.zip |
fixed the hash, now onward & upward
Diffstat (limited to 'mod')
-rw-r--r-- | mod/zfinger.php | 2 |
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']; |