summaryrefslogtreecommitdiff
path: root/ssh.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-07-03 03:49:45 +0000
committerDamien Miller <djm@mindrot.org>2015-07-15 15:36:02 +1000
commit933935ce8d093996c34d7efa4d59113163080680 (patch)
tree7c2df1bfff8ab967e52436d649a420fc20ba80c6 /ssh.h
parentbdfd29f60b74f3e678297269dc6247a5699583c1 (diff)
downloadopenssh-git-933935ce8d093996c34d7efa4d59113163080680.tar.gz
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh.h b/ssh.h
index c94633bd..4f8da5c1 100644
--- a/ssh.h
+++ b/ssh.h
@@ -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