whirlpool not universally supported for key generation, use sha1

This commit is contained in:
Friendika 2010-11-24 15:53:26 -08:00
parent 85a6e9634a
commit 4bd7667a48

View File

@ -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 ));