[INN-COMMITTERS] inn/authprogs (ckpasswd.c)

Russ Allbery Russ_Allbery at isc.org
Mon Aug 12 05:52:44 UTC 2002


    Date: Sunday, August 11, 2002 @ 22:52:44
  Author: rra
    Path: /dist1/cvs/isc/inn/inn/authprogs

Modified: ckpasswd.c

Significantly rewritten.  Clean up the handling of conditional code so
that there aren't #ifdefs embedded in the middle of code.  Make the PAM
authentication easier to read and pull it out into its own function.  Make
use of libinn when reading password files, and use cvector_split to parse
lines and split on colons.  Add -u and -p flags to give usernames and
passwords on the command line to make it easier to test.  Use the current
message handling routines, and avoid static variables.


------------+
 ckpasswd.c |  481 +++++++++++++++++++++++++++++++++--------------------------
 1 files changed, 277 insertions(+), 204 deletions(-)


More information about the inn-committers mailing list