diff options
author | markus@openbsd.org <markus@openbsd.org> | 2016-05-04 14:22:33 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2016-05-19 17:48:34 +1000 |
commit | 0516454151ae722fc8256c3c56115c6baf24c5b0 (patch) | |
tree | 77e564e315d3a426051f32d59ba4720b4f2de860 | |
parent | 332ff3d770631e7513fea38cf0d3689f673f0e3f (diff) |
upstream commit
move SSH_MSG_NONE, so we don't have to include ssh1.h;
ok deraadt@
Upstream-ID: c2f97502efc761a41b18c17ddf460e138ca7994e
-rw-r--r-- | auth-krb5.c | 3 | ||||
-rw-r--r-- | ssh1.h | 3 | ||||
-rw-r--r-- | ssh2.h | 6 | ||||
-rw-r--r-- | ssh_api.c | 4 | ||||
-rw-r--r-- | ttymodes.c | 3 |
5 files changed, 9 insertions, 10 deletions
diff --git a/auth-krb5.c b/auth-krb5.c index d1c5a2f32..a5a81ed2e 100644 --- a/auth-krb5.c +++ b/auth-krb5.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth-krb5.c,v 1.21 2016/01/27 06:44:58 djm Exp $ */ | 1 | /* $OpenBSD: auth-krb5.c,v 1.22 2016/05/04 14:22:33 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Kerberos v5 authentication and ticket-passing routines. | 3 | * Kerberos v5 authentication and ticket-passing routines. |
4 | * | 4 | * |
@@ -36,7 +36,6 @@ | |||
36 | 36 | ||
37 | #include "xmalloc.h" | 37 | #include "xmalloc.h" |
38 | #include "ssh.h" | 38 | #include "ssh.h" |
39 | #include "ssh1.h" | ||
40 | #include "packet.h" | 39 | #include "packet.h" |
41 | #include "log.h" | 40 | #include "log.h" |
42 | #include "buffer.h" | 41 | #include "buffer.h" |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh1.h,v 1.6 2006/03/25 22:22:43 djm Exp $ */ | 1 | /* $OpenBSD: ssh1.h,v 1.7 2016/05/04 14:22:33 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -22,7 +22,6 @@ | |||
22 | #define SSH_MSG_MIN 1 | 22 | #define SSH_MSG_MIN 1 |
23 | #define SSH_MSG_MAX 254 | 23 | #define SSH_MSG_MAX 254 |
24 | /* Message name */ /* msg code */ /* arguments */ | 24 | /* Message name */ /* msg code */ /* arguments */ |
25 | #define SSH_MSG_NONE 0 /* no message */ | ||
26 | #define SSH_MSG_DISCONNECT 1 /* cause (string) */ | 25 | #define SSH_MSG_DISCONNECT 1 /* cause (string) */ |
27 | #define SSH_SMSG_PUBLIC_KEY 2 /* ck,msk,srvk,hostk */ | 26 | #define SSH_SMSG_PUBLIC_KEY 2 /* ck,msk,srvk,hostk */ |
28 | #define SSH_CMSG_SESSION_KEY 3 /* key (BIGNUM) */ | 27 | #define SSH_CMSG_SESSION_KEY 3 /* key (BIGNUM) */ |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh2.h,v 1.17 2016/01/14 16:17:40 markus Exp $ */ | 1 | /* $OpenBSD: ssh2.h,v 1.18 2016/05/04 14:22:33 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
@@ -55,6 +55,10 @@ | |||
55 | * 192-255 Local extensions | 55 | * 192-255 Local extensions |
56 | */ | 56 | */ |
57 | 57 | ||
58 | /* special marker for no message */ | ||
59 | |||
60 | #define SSH_MSG_NONE 0 | ||
61 | |||
58 | /* ranges */ | 62 | /* ranges */ |
59 | 63 | ||
60 | #define SSH2_MSG_TRANSPORT_MIN 1 | 64 | #define SSH2_MSG_TRANSPORT_MIN 1 |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh_api.c,v 1.6 2016/05/02 10:26:04 djm Exp $ */ | 1 | /* $OpenBSD: ssh_api.c,v 1.7 2016/05/04 14:22:33 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2012 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2012 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -17,14 +17,12 @@ | |||
17 | 17 | ||
18 | #include "includes.h" | 18 | #include "includes.h" |
19 | 19 | ||
20 | #include "ssh1.h" /* For SSH_MSG_NONE */ | ||
21 | #include "ssh_api.h" | 20 | #include "ssh_api.h" |
22 | #include "compat.h" | 21 | #include "compat.h" |
23 | #include "log.h" | 22 | #include "log.h" |
24 | #include "authfile.h" | 23 | #include "authfile.h" |
25 | #include "sshkey.h" | 24 | #include "sshkey.h" |
26 | #include "misc.h" | 25 | #include "misc.h" |
27 | #include "ssh1.h" | ||
28 | #include "ssh2.h" | 26 | #include "ssh2.h" |
29 | #include "version.h" | 27 | #include "version.h" |
30 | #include "myproposal.h" | 28 | #include "myproposal.h" |
diff --git a/ttymodes.c b/ttymodes.c index 6f51b8a70..db772c39c 100644 --- a/ttymodes.c +++ b/ttymodes.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ttymodes.c,v 1.29 2008/11/02 00:16:16 stevesk Exp $ */ | 1 | /* $OpenBSD: ttymodes.c,v 1.30 2016/05/04 14:22:33 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -54,7 +54,6 @@ | |||
54 | 54 | ||
55 | #include "packet.h" | 55 | #include "packet.h" |
56 | #include "log.h" | 56 | #include "log.h" |
57 | #include "ssh1.h" | ||
58 | #include "compat.h" | 57 | #include "compat.h" |
59 | #include "buffer.h" | 58 | #include "buffer.h" |
60 | 59 | ||