Update password storage to a more compact form
authorChip Black <bytex64@bytex64.net>
Sun, 29 Jun 2014 04:55:15 +0000 (23:55 -0500)
committerChip Black <bytex64@bytex64.net>
Sun, 29 Jun 2014 06:16:37 +0000 (01:16 -0500)
commit7a1c06730feac986e1bf29f202b6afe910b56f14
treeb29eb60acdf8291535dc250e70e661108823f0f1
parentabeaeafe6860bef22ab8469261d3198efc8358c1
Update password storage to a more compact form

Instead of using three files to store version, password, and salt, pack
it all into a struct and write it as a single file.  Also added locking
for password updates, and removed raw password get functions from the
exposed functions in common/auth.h.
common/auth.c
common/auth.h