The unified diff between revisions [63530dac..] and [e99d4659..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'svr-authpasswd.c'

#
#
# patch "svr-authpasswd.c"
#  from [a839cbbbadb4bf4a2641e6f45ac6b46bffd99833]
#    to [163ade7f267461bf9e873fb27d4ad2d98a857133]
#
============================================================
--- svr-authpasswd.c	a839cbbbadb4bf4a2641e6f45ac6b46bffd99833
+++ svr-authpasswd.c	163ade7f267461bf9e873fb27d4ad2d98a857133
@@ -71,7 +71,7 @@ void svr_auth_password() {
 	}

 	/* 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);