]> git.mxchange.org Git - friendica.git/commitdiff
use sha1 keys for friends as well
authorFriendika <info@friendika.com>
Thu, 25 Nov 2010 00:07:42 +0000 (16:07 -0800)
committerFriendika <info@friendika.com>
Thu, 25 Nov 2010 00:07:42 +0000 (16:07 -0800)
mod/dfrn_confirm.php

index 13353a3641c1424acb90f64c5840092b6a2c3e6b..950d589f3e03becf40442eecc73487e6c62ca355 100644 (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 )
                        );