summaryrefslogtreecommitdiff
path: root/ssh.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2017-05-07 23:15:59 +0000
committerDamien Miller <djm@mindrot.org>2017-05-08 09:21:22 +1000
commitbd636f40911094a39c2920bf87d2ec340533c152 (patch)
tree53c4c9655827d6433a26a510f46081dfc4b72b6d /ssh.h
parent70c1218fc45757a030285051eb4d209403f54785 (diff)
upstream commit
Refuse RSA keys <1024 bits in length. Improve reporting for keys that do not meet this requirement. ok markus@ Upstream-ID: b385e2a7b13b1484792ee681daaf79e1e203df6c
Diffstat (limited to 'ssh.h')
-rw-r--r--ssh.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/ssh.h b/ssh.h
index 08d05ce29..12d800922 100644
--- a/ssh.h
+++ b/ssh.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh.h,v 1.86 2017/05/03 21:08:09 naddy Exp $ */ 1/* $OpenBSD: ssh.h,v 1.87 2017/05/07 23:15:59 djm Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -98,8 +98,5 @@
98#define SSH_PRIVSEP_USER "sshd" 98#define SSH_PRIVSEP_USER "sshd"
99#endif 99#endif
100 100
101/* Minimum modulus size (n) for RSA keys. */
102#define SSH_RSA_MINIMUM_MODULUS_SIZE 768
103
104/* Listen backlog for sshd, ssh-agent and forwarding sockets */ 101/* Listen backlog for sshd, ssh-agent and forwarding sockets */
105#define SSH_LISTEN_BACKLOG 128 102#define SSH_LISTEN_BACKLOG 128