Description: fix for lost password with credentials:legacy
 applied upstream 896f07bf3c08becc06a881f57fb0ad2160819d45
 which causes the prompted password to be passed on correctly
Author: Alexander Zangerl <az@debian.org>
Bug: http://bugs.debian.org/917331

--- a/sbr/ruserpass.c
+++ b/sbr/ruserpass.c
@@ -170,7 +170,7 @@ ruserpass(const char *host, char **aname
 	    mypass = *aname;
 	}
 
-        *aname = mh_xstrdup(mypass);
+        *apass = mh_xstrdup(mypass);
     }
 
 }
