Raise default RSA key length to 2048 bits.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 15 Sep 2009 21:04:52 +0000 (23:04 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 15 Sep 2009 21:04:52 +0000 (23:04 +0200)
src/tincd.c

index b2e055c63834b5d28dfaa90c0c5aad329254934e..602f18b1ff99a0c7f6167e529f517393e47c0061 100644 (file)
@@ -229,7 +229,7 @@ static bool parse_options(int argc, char **argv)
 
                                        generate_keys &= ~7;    /* Round it to bytes */
                                } else
-                                       generate_keys = 1024;
+                                       generate_keys = 2048;
                                break;
 
                        case 'R':                               /* chroot to NETNAME dir */