diff options
author | Damien Miller <djm@mindrot.org> | 2001-12-21 15:00:19 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-12-21 15:00:19 +1100 |
commit | 278f907a2d6d00d6f52a11bf9577648aadbf0994 (patch) | |
tree | 50f885a7fd73b813754e3b675e810dc01ba78b78 /serverloop.c | |
parent | e737856350287104a12f5a97c81fad1f7bcd7096 (diff) |
- djm@cvs.openbsd.org 2001/12/20 22:50:24
[auth2.c auth2-chall.c channels.c channels.h clientloop.c dispatch.c]
[dispatch.h kex.c kex.h packet.c packet.h serverloop.c ssh.c]
[sshconnect2.c]
Conformance fix: we should send failing packet sequence number when
responding with a SSH_MSG_UNIMPLEMENTED message. Spotted by
yakk@yakk.dot.net; ok markus@
Diffstat (limited to 'serverloop.c')
-rw-r--r-- | serverloop.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/serverloop.c b/serverloop.c index c876dc0ca..0754fe76f 100644 --- a/serverloop.c +++ b/serverloop.c | |||
@@ -35,7 +35,7 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | RCSID("$OpenBSD: serverloop.c,v 1.87 2001/12/19 16:09:39 markus Exp $"); | 38 | RCSID("$OpenBSD: serverloop.c,v 1.88 2001/12/20 22:50:24 djm Exp $"); |
39 | 39 | ||
40 | #include "xmalloc.h" | 40 | #include "xmalloc.h" |
41 | #include "packet.h" | 41 | #include "packet.h" |
@@ -791,7 +791,7 @@ server_loop2(Authctxt *authctxt) | |||
791 | } | 791 | } |
792 | 792 | ||
793 | static void | 793 | static void |
794 | server_input_channel_failure(int type, int plen, void *ctxt) | 794 | server_input_channel_failure(int type, int plen, u_int32_t seq, void *ctxt) |
795 | { | 795 | { |
796 | debug("Got CHANNEL_FAILURE for keepalive"); | 796 | debug("Got CHANNEL_FAILURE for keepalive"); |
797 | /* | 797 | /* |
@@ -804,7 +804,7 @@ server_input_channel_failure(int type, int plen, void *ctxt) | |||
804 | 804 | ||
805 | 805 | ||
806 | static void | 806 | static void |
807 | server_input_stdin_data(int type, int plen, void *ctxt) | 807 | server_input_stdin_data(int type, int plen, u_int32_t seq, void *ctxt) |
808 | { | 808 | { |
809 | char *data; | 809 | char *data; |
810 | u_int data_len; | 810 | u_int data_len; |
@@ -821,7 +821,7 @@ server_input_stdin_data(int type, int plen, void *ctxt) | |||
821 | } | 821 | } |
822 | 822 | ||
823 | static void | 823 | static void |
824 | server_input_eof(int type, int plen, void *ctxt) | 824 | server_input_eof(int type, int plen, u_int32_t seq, void *ctxt) |
825 | { | 825 | { |
826 | /* | 826 | /* |
827 | * Eof from the client. The stdin descriptor to the | 827 | * Eof from the client. The stdin descriptor to the |
@@ -834,7 +834,7 @@ server_input_eof(int type, int plen, void *ctxt) | |||
834 | } | 834 | } |
835 | 835 | ||
836 | static void | 836 | static void |
837 | server_input_window_size(int type, int plen, void *ctxt) | 837 | server_input_window_size(int type, int plen, u_int32_t seq, void *ctxt) |
838 | { | 838 | { |
839 | int row = packet_get_int(); | 839 | int row = packet_get_int(); |
840 | int col = packet_get_int(); | 840 | int col = packet_get_int(); |
@@ -912,7 +912,7 @@ server_request_session(char *ctype) | |||
912 | } | 912 | } |
913 | 913 | ||
914 | static void | 914 | static void |
915 | server_input_channel_open(int type, int plen, void *ctxt) | 915 | server_input_channel_open(int type, int plen, u_int32_t seq, void *ctxt) |
916 | { | 916 | { |
917 | Channel *c = NULL; | 917 | Channel *c = NULL; |
918 | char *ctype; | 918 | char *ctype; |
@@ -962,7 +962,7 @@ server_input_channel_open(int type, int plen, void *ctxt) | |||
962 | } | 962 | } |
963 | 963 | ||
964 | static void | 964 | static void |
965 | server_input_global_request(int type, int plen, void *ctxt) | 965 | server_input_global_request(int type, int plen, u_int32_t seq, void *ctxt) |
966 | { | 966 | { |
967 | char *rtype; | 967 | char *rtype; |
968 | int want_reply; | 968 | int want_reply; |