Commit 557c3354 authored by J.H.M. Dassen's avatar J.H.M. Dassen Committed by Niels Möller
Browse files

Fixes by jdassen@wi.leidenuniv.nl.

Rev: src/client_userauth.c:1.7
parent a921df6d
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
* would be to first send a set of publickey authentication requests * would be to first send a set of publickey authentication requests
* for the available keys (for some configurable value of * for the available keys (for some configurable value of
* "available"). This is analogous to unlocking a door by first * "available"). This is analogous to unlocking a door by first
* examining the keys on one's keyring to see if any of them kan be * examining the keys on one's keyring to see if any of them can be
* inserted into the lock. Preferably, at this point one should use * inserted into the lock. Preferably, at this point one should use
* spki hashed public keys rather than the public keys themselves. * spki hashed public keys rather than the public keys themselves.
* *
...@@ -49,6 +49,8 @@ ...@@ -49,6 +49,8 @@
* from the start, we ask the user for a password and attempts to log * from the start, we ask the user for a password and attempts to log
* in using that. */ * in using that. */
static struct packet_handler *make_banner_handler(void);
#include "client_userauth.c.x" #include "client_userauth.c.x"
/* CLASS: /* CLASS:
...@@ -164,7 +166,7 @@ static int do_userauth_failure(struct packet_handler *c, ...@@ -164,7 +166,7 @@ static int do_userauth_failure(struct packet_handler *c,
&& parse_boolean(&buffer, &partial_success) && parse_boolean(&buffer, &partial_success)
&& parse_eod(&buffer)) && parse_eod(&buffer))
{ {
int i; unsigned i;
lsh_string_free(packet); lsh_string_free(packet);
...@@ -249,7 +251,7 @@ make_failure_handler(struct client_userauth *userauth) ...@@ -249,7 +251,7 @@ make_failure_handler(struct client_userauth *userauth)
return &self->super; return &self->super;
} }
static struct packet_handler *make_banner_handler() static struct packet_handler *make_banner_handler(void)
{ {
NEW(packet_handler, self); NEW(packet_handler, self);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment