Mercurial > dropbear
diff svr-authpam.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 | 21e99b6190dd |
children | 9a9c6d633972 |
line wrap: on
line diff
--- a/svr-authpam.c Sun Mar 13 12:03:27 2005 +0000 +++ b/svr-authpam.c Sun Mar 13 13:58:14 2005 +0000 @@ -155,7 +155,7 @@ unsigned char changepw; /* check if client wants to change password */ - changepw = buf_getbyte(ses.payload); + changepw = buf_getbool(ses.payload); if (changepw) { /* not implemented by this server */ send_msg_userauth_failure(0, 1);