From 1accf82bd10f73b22e0c169100932ccfbd81977b Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 14 Jul 2014 21:21:24 -0700 Subject: clean up more code duplication --- include/identity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/identity.php') 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 -- cgit v1.2.3