components/openssh/patches/015-pam_conversation_fix.patch
changeset 6931 f6f7269f85a9
parent 6930 31ef2580c45d
--- a/components/openssh/patches/015-pam_conversation_fix.patch	Tue Sep 20 03:54:40 2016 -0700
+++ b/components/openssh/patches/015-pam_conversation_fix.patch	Tue Sep 20 03:54:40 2016 -0700
@@ -61,7 +61,7 @@
  		sshpam_password = fake = fake_password(password);
  
 +#ifdef PAM_BUGFIX
-+        sshpam_err = pam_set_item(sshpam_handle, PAM_AUTHTOK, password);
++        sshpam_err = pam_set_item(sshpam_handle, PAM_AUTHTOK, sshpam_password);
 +        if (sshpam_err != PAM_SUCCESS) {
 +                debug("PAM: %s: failed to set PAM_AUTHTOK: %s", __func__,
 +                    pam_strerror(sshpam_handle, sshpam_err));