login: cleanup password code
- make some locally used functions static
- remove read_passwd which is unused
- some refactoring to make code pathes clearer

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 90e766a commit 40596b856f61c281fb34f804bf42550c099f26c3
@Sascha Hauer Sascha Hauer authored on 27 Aug 2015
Showing 2 changed files
View
common/password.c
View
include/password.h