use sha1 keys for friends as well

This commit is contained in:
Friendika 2010-11-24 16:07:42 -08:00
parent 4bd7667a48
commit 3757c9cae5

View file

@ -95,7 +95,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
// worried about key leakage than anybody cracking it.
$res = openssl_pkey_new(array(
'digest_alg' => 'whirlpool',
'digest_alg' => 'sha1',
'private_key_bits' => 4096,
'encrypt_key' => false )
);