summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-keygen.c
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2005-06-08 03:50:00 +0000
committerdjm <djm@openbsd.org>2005-06-08 03:50:00 +0000
commit22b3ab909b1b26a2e89e6f206a8e1a36f0a62d20 (patch)
tree2958e6a4c35bbba9f4e81c757bb619fff5d2304d /usr.bin/ssh/ssh-keygen.c
parentadd open_write_error() to bail on fopen(3) failing to open for write, gains (diff)
downloadwireguard-openbsd-22b3ab909b1b26a2e89e6f206a8e1a36f0a62d20.tar.xz
wireguard-openbsd-22b3ab909b1b26a2e89e6f206a8e1a36f0a62d20.zip
increase default rsa/dsa key length from 1024 to 2048 bits; ok markus@ deraadt@
Diffstat (limited to 'usr.bin/ssh/ssh-keygen.c')
-rw-r--r--usr.bin/ssh/ssh-keygen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-keygen.c b/usr.bin/ssh/ssh-keygen.c
index e2b9b7ad407..705a4b4124a 100644
--- a/usr.bin/ssh/ssh-keygen.c
+++ b/usr.bin/ssh/ssh-keygen.c
@@ -12,7 +12,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh-keygen.c,v 1.126 2005/05/26 09:08:12 dtucker Exp $");
+RCSID("$OpenBSD: ssh-keygen.c,v 1.127 2005/06/08 03:50:00 djm Exp $");
#include <openssl/evp.h>
#include <openssl/pem.h>
@@ -36,7 +36,7 @@ RCSID("$OpenBSD: ssh-keygen.c,v 1.126 2005/05/26 09:08:12 dtucker Exp $");
#include "dns.h"
/* Number of bits in the RSA/DSA key. This value can be changed on the command line. */
-u_int32_t bits = 1024;
+u_int32_t bits = 2048;
/*
* Flag indicating that we just want to change the passphrase. This can be