aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-24 15:53:26 -0800
committerFriendika <info@friendika.com>2010-11-24 15:53:26 -0800
commit4bd7667a48cbe57c89f2a385ea3fbf9543370157 (patch)
tree6c99efe07526d4858f0b32c900107f689f9f9427
parent85a6e9634a480f094d3acbce9aa0ce0aa1e6b29c (diff)
downloadvolse-hubzilla-4bd7667a48cbe57c89f2a385ea3fbf9543370157.tar.gz
volse-hubzilla-4bd7667a48cbe57c89f2a385ea3fbf9543370157.tar.bz2
volse-hubzilla-4bd7667a48cbe57c89f2a385ea3fbf9543370157.zip
whirlpool not universally supported for key generation, use sha1
-rw-r--r--mod/register.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/register.php b/mod/register.php
index 82791bb5d..57a15c008 100644
--- a/mod/register.php
+++ b/mod/register.php
@@ -107,7 +107,7 @@ function register_post(&$a) {
$new_password_encoded = hash('whirlpool',$new_password);
$res=openssl_pkey_new(array(
- 'digest_alg' => 'whirlpool',
+ 'digest_alg' => 'sha1',
'private_key_bits' => 4096,
'encrypt_key' => false ));