projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Further testing of locks.
[idzebra-moved-to-github.git]
/
util
/
passtest.c
diff --git
a/util/passtest.c
b/util/passtest.c
index
e77e74f
..
20c6230
100644
(file)
--- a/
util/passtest.c
+++ b/
util/passtest.c
@@
-1,4
+1,4
@@
-/* $Id: passtest.c,v 1.5 2005-01-15 19:38:42 adam Exp $
+/* $Id: passtest.c,v 1.7 2006-05-10 08:13:46 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
Copyright (C) 1995-2005
Index Data ApS
@@
-30,8
+30,16
@@
int main (int argc, char **argv)
db = passwd_db_open();
db = passwd_db_open();
- passwd_db_file (db, "/etc/passwd");
- passwd_db_auth (db, "adam", "xtx9Y=");
- passwd_db_close (db);
+ passwd_db_file_plain(db, "/etc/passwd");
+ passwd_db_auth(db, "adam", "xtx9Y=");
+ passwd_db_close(db);
return 0;
}
return 0;
}
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+