Mercurial > dropbear
diff svr-authpubkey.c @ 179:161557a9dde8
* fix longstanding bug with connections being closed on failure to
connect to auth socket (server)
* differentiate between get_byte and get_bool
* get rid of some // comments
* general tidying
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 13 Mar 2005 13:58:14 +0000 |
parents | 0cfba3034be5 |
children | c5d3ef11155f |
line wrap: on
line diff
--- a/svr-authpubkey.c Sun Mar 13 12:03:27 2005 +0000 +++ b/svr-authpubkey.c Sun Mar 13 13:58:14 2005 +0000 @@ -64,7 +64,7 @@ /* 0 indicates user just wants to check if key can be used, 1 is an * actual attempt*/ - testkey = (buf_getbyte(ses.payload) == 0); + testkey = (buf_getbool(ses.payload) == 0); algo = buf_getstring(ses.payload, &algolen); keybloblen = buf_getint(ses.payload);