use sha1 keys for friends as well
This commit is contained in:
parent
4bd7667a48
commit
3757c9cae5
|
@ -95,7 +95,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
|
||||||
// worried about key leakage than anybody cracking it.
|
// worried about key leakage than anybody cracking it.
|
||||||
|
|
||||||
$res = openssl_pkey_new(array(
|
$res = openssl_pkey_new(array(
|
||||||
'digest_alg' => 'whirlpool',
|
'digest_alg' => 'sha1',
|
||||||
'private_key_bits' => 4096,
|
'private_key_bits' => 4096,
|
||||||
'encrypt_key' => false )
|
'encrypt_key' => false )
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue