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-authpam.c'

#
#
# patch "svr-authpam.c"
#  from [81ac1b1ac84fcf7f710263961bdff8ea0d4e2638]
#    to [48afbf9c99df79c7ba65ddbed8180fc4e2036386]
#
============================================================
--- svr-authpam.c	81ac1b1ac84fcf7f710263961bdff8ea0d4e2638
+++ svr-authpam.c	48afbf9c99df79c7ba65ddbed8180fc4e2036386
@@ -155,7 +155,7 @@ void svr_auth_pam() {
 	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);