diff options
author | djm@openbsd.org <djm@openbsd.org> | 2015-07-03 05:49:45 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-07-15 07:36:02 +0200 |
commit | 933935ce8d093996c34d7efa4d59113163080680 (patch) | |
tree | 7c2df1bfff8ab967e52436d649a420fc20ba80c6 /ssh.h | |
parent | upstream commit (diff) | |
download | openssh-933935ce8d093996c34d7efa4d59113163080680.tar.xz openssh-933935ce8d093996c34d7efa4d59113163080680.zip |
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 @@ -/* $OpenBSD: ssh.h,v 1.79 2010/06/25 07:14:46 djm Exp $ */ +/* $OpenBSD: ssh.h,v 1.80 2015/07/03 03:49:45 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -93,7 +93,7 @@ #endif /* Minimum modulus size (n) for RSA keys. */ -#define SSH_RSA_MINIMUM_MODULUS_SIZE 768 +#define SSH_RSA_MINIMUM_MODULUS_SIZE 1024 /* Listen backlog for sshd, ssh-agent and forwarding sockets */ #define SSH_LISTEN_BACKLOG 128 |