aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ));