diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2005-06-08 03:50:01 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2005-06-08 03:50:01 +0000 |
commit | 24c2f5a89d145be6fe7c0c2736bfdfe2337338fd (patch) | |
tree | e911e951b8d575c1c6ad33d194b7eb36f4751a9b /usr.bin/ssh/ssh-keygen.c | |
parent | e826a55f3551fc41e004d3bf580b701c9ea90095 (diff) |
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.c | 4 |
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 |