aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.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 /include/identity.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 'include/identity.php')
-rw-r--r--include/identity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/identity.php b/include/identity.php
index 6c28f23d6..e210b37ab 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -201,7 +201,7 @@ function create_identity($arr) {
$sig = base64url_encode(rsa_sign($guid,$key['prvkey']));
- $hash = base64url_encode(hash('whirlpool',$guid . $sig,true));
+ $hash = make_xchan_hash($guid,$sig);
// Force a few things on the short term until we can provide a theme or app with choice