diff options
Diffstat (limited to 'auth2.c')
-rw-r--r-- | auth2.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: auth2.c,v 1.79 2001/12/28 12:14:27 markus Exp $"); | 26 | RCSID("$OpenBSD: auth2.c,v 1.80 2001/12/28 15:06:00 markus Exp $"); |
27 | 27 | ||
28 | #include <openssl/evp.h> | 28 | #include <openssl/evp.h> |
29 | 29 | ||
@@ -69,9 +69,9 @@ struct Authmethod { | |||
69 | 69 | ||
70 | /* protocol */ | 70 | /* protocol */ |
71 | 71 | ||
72 | static void input_service_request(int, int, u_int32_t, void *); | 72 | static void input_service_request(int, u_int32_t, void *); |
73 | static void input_userauth_request(int, int, u_int32_t, void *); | 73 | static void input_userauth_request(int, u_int32_t, void *); |
74 | static void protocol_error(int, int, u_int32_t, void *); | 74 | static void protocol_error(int, u_int32_t, void *); |
75 | 75 | ||
76 | /* helper */ | 76 | /* helper */ |
77 | static Authmethod *authmethod_lookup(const char *); | 77 | static Authmethod *authmethod_lookup(const char *); |
@@ -130,9 +130,9 @@ do_authentication2(void) | |||
130 | } | 130 | } |
131 | 131 | ||
132 | static void | 132 | static void |
133 | protocol_error(int type, int plen, u_int32_t seq, void *ctxt) | 133 | protocol_error(int type, u_int32_t seq, void *ctxt) |
134 | { | 134 | { |
135 | log("auth: protocol error: type %d plen %d", type, plen); | 135 | log("auth: protocol error: type %d", type); |
136 | packet_start(SSH2_MSG_UNIMPLEMENTED); | 136 | packet_start(SSH2_MSG_UNIMPLEMENTED); |
137 | packet_put_int(seq); | 137 | packet_put_int(seq); |
138 | packet_send(); | 138 | packet_send(); |
@@ -140,7 +140,7 @@ protocol_error(int type, int plen, u_int32_t seq, void *ctxt) | |||
140 | } | 140 | } |
141 | 141 | ||
142 | static void | 142 | static void |
143 | input_service_request(int type, int plen, u_int32_t seq, void *ctxt) | 143 | input_service_request(int type, u_int32_t seq, void *ctxt) |
144 | { | 144 | { |
145 | Authctxt *authctxt = ctxt; | 145 | Authctxt *authctxt = ctxt; |
146 | u_int len; | 146 | u_int len; |
@@ -173,7 +173,7 @@ input_service_request(int type, int plen, u_int32_t seq, void *ctxt) | |||
173 | } | 173 | } |
174 | 174 | ||
175 | static void | 175 | static void |
176 | input_userauth_request(int type, int plen, u_int32_t seq, void *ctxt) | 176 | input_userauth_request(int type, u_int32_t seq, void *ctxt) |
177 | { | 177 | { |
178 | Authctxt *authctxt = ctxt; | 178 | Authctxt *authctxt = ctxt; |
179 | Authmethod *m = NULL; | 179 | Authmethod *m = NULL; |