diff options
author | Timo Weingärtner <timo@tiwe.de> | 2013-04-29 13:06:26 +0200 |
---|---|---|
committer | Timo Weingärtner <timo@tiwe.de> | 2013-05-12 18:44:18 +0200 |
commit | 138c589dd4cdf68659bfa643e5659fa1200f6081 (patch) | |
tree | cebb8c42cf51cfc0397942a948c872ebc819090f /bigcrypt.c | |
parent | 0437f4656f1d5a541b4ab951c457fae19f8deee4 (diff) | |
download | libpam-pwdfile-138c589dd4cdf68659bfa643e5659fa1200f6081.tar.gz |
rework pwdfile reading
* drop rewind(), we read the file just once
* use getline() to get rid of the fixed-size buffer
* let strsep() also handle the newline
* stop at the first line containing the user instead of using the last
Diffstat (limited to 'bigcrypt.c')
0 files changed, 0 insertions, 0 deletions