Mercurial > dropbear
diff svr-authpubkey.c @ 219:654bc8327787
merge of 9522146cb07d4576f161fc4567c2c2fbd6f61fbb
and b11630c15bc4d0649dba51c3572cac6f44e0ab0e
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 08 Jul 2005 13:28:03 +0000 |
parents | 161557a9dde8 |
children | c5d3ef11155f |
line wrap: on
line diff
--- a/svr-authpubkey.c Fri Jul 08 13:27:28 2005 +0000 +++ b/svr-authpubkey.c Fri Jul 08 13:28:03 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);