The unified diff between revisions [d0935a5d..] and [e0686662..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'svr-authpubkey.c'
#
#
# patch "svr-authpubkey.c"
# from [396564530dca886acad21ebbbc01cac5e5f42067]
# to [a659d961ca849841adc5ac41a68f360a135763d5]
#
============================================================
--- svr-authpubkey.c 396564530dca886acad21ebbbc01cac5e5f42067
+++ svr-authpubkey.c a659d961ca849841adc5ac41a68f360a135763d5
@@ -64,7 +64,7 @@ void svr_auth_pubkey() {
/* 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);