diff options
author | djm@openbsd.org <djm@openbsd.org> | 2015-07-03 03:49:45 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-07-15 15:36:02 +1000 |
commit | 933935ce8d093996c34d7efa4d59113163080680 (patch) | |
tree | 7c2df1bfff8ab967e52436d649a420fc20ba80c6 /ssh.h | |
parent | bdfd29f60b74f3e678297269dc6247a5699583c1 (diff) |
upstream commit
refuse to generate or accept RSA keys smaller than 1024
bits; feedback and ok dtucker@
Upstream-ID: 7ea3d31271366ba264f06e34a3539bf1ac30f0ba
Diffstat (limited to 'ssh.h')
-rw-r--r-- | ssh.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh.h,v 1.79 2010/06/25 07:14:46 djm Exp $ */ | 1 | /* $OpenBSD: ssh.h,v 1.80 2015/07/03 03:49:45 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -93,7 +93,7 @@ | |||
93 | #endif | 93 | #endif |
94 | 94 | ||
95 | /* Minimum modulus size (n) for RSA keys. */ | 95 | /* Minimum modulus size (n) for RSA keys. */ |
96 | #define SSH_RSA_MINIMUM_MODULUS_SIZE 768 | 96 | #define SSH_RSA_MINIMUM_MODULUS_SIZE 1024 |
97 | 97 | ||
98 | /* Listen backlog for sshd, ssh-agent and forwarding sockets */ | 98 | /* Listen backlog for sshd, ssh-agent and forwarding sockets */ |
99 | #define SSH_LISTEN_BACKLOG 128 | 99 | #define SSH_LISTEN_BACKLOG 128 |