summaryrefslogtreecommitdiff
path: root/auth2.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2.c')
-rw-r--r--auth2.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/auth2.c b/auth2.c
index 1ad905f18..e48bed7c1 100644
--- a/auth2.c
+++ b/auth2.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: auth2.c,v 1.79 2001/12/28 12:14:27 markus Exp $"); 26RCSID("$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
72static void input_service_request(int, int, u_int32_t, void *); 72static void input_service_request(int, u_int32_t, void *);
73static void input_userauth_request(int, int, u_int32_t, void *); 73static void input_userauth_request(int, u_int32_t, void *);
74static void protocol_error(int, int, u_int32_t, void *); 74static void protocol_error(int, u_int32_t, void *);
75 75
76/* helper */ 76/* helper */
77static Authmethod *authmethod_lookup(const char *); 77static Authmethod *authmethod_lookup(const char *);
@@ -130,9 +130,9 @@ do_authentication2(void)
130} 130}
131 131
132static void 132static void
133protocol_error(int type, int plen, u_int32_t seq, void *ctxt) 133protocol_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
142static void 142static void
143input_service_request(int type, int plen, u_int32_t seq, void *ctxt) 143input_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
175static void 175static void
176input_userauth_request(int type, int plen, u_int32_t seq, void *ctxt) 176input_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;