whirlpool not universally supported for key generation, use sha1
This commit is contained in:
parent
85a6e9634a
commit
4bd7667a48
|
@ -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 ));
|
||||
|
||||
|
|
Loading…
Reference in a new issue