diff options
Diffstat (limited to 'ssh.h')
-rw-r--r-- | ssh.h | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh.h,v 1.83 2015/12/11 03:19:09 djm 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> |
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | /* | 33 | /* |
34 | * Maximum length of lines in authorized_keys file. | 34 | * Maximum length of lines in authorized_keys file. |
35 | * Current value permits 16kbit RSA and RSA1 keys and 8kbit DSA keys, with | 35 | * Current value permits 16kbit RSA keys and 8kbit DSA keys, with |
36 | * some room for options and comments. | 36 | * some room for options and comments. |
37 | */ | 37 | */ |
38 | #define SSH_MAX_PUBKEY_BYTES 16384 | 38 | #define SSH_MAX_PUBKEY_BYTES 16384 |
@@ -47,7 +47,7 @@ | |||
47 | #define PROTOCOL_MAJOR_1 1 | 47 | #define PROTOCOL_MAJOR_1 1 |
48 | #define PROTOCOL_MINOR_1 5 | 48 | #define PROTOCOL_MINOR_1 5 |
49 | 49 | ||
50 | /* We support both SSH1 and SSH2 */ | 50 | /* We support only SSH2 */ |
51 | #define PROTOCOL_MAJOR_2 2 | 51 | #define PROTOCOL_MAJOR_2 2 |
52 | #define PROTOCOL_MINOR_2 0 | 52 | #define PROTOCOL_MINOR_2 0 |
53 | 53 | ||
@@ -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 |