X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fpasstest.c;h=c81d55bc6988504ebe7007fca784d83d5576e24a;hb=bbdba174c32cd0f6f45781d6123d41186617ba5f;hp=0e925272e9f23022ca29ce44280a6880a108a029;hpb=896c0427df9d8eff5de6a1735dcd992e067df844;p=idzebra-moved-to-github.git diff --git a/util/passtest.c b/util/passtest.c index 0e92527..c81d55b 100644 --- a/util/passtest.c +++ b/util/passtest.c @@ -1,6 +1,6 @@ -/* $Id: passtest.c,v 1.4 2002-08-02 19:26:57 adam Exp $ - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 - Index Data Aps +/* $Id: passtest.c,v 1.6 2005-05-30 13:27:08 adam Exp $ + Copyright (C) 1995-2005 + Index Data ApS This file is part of the Zebra server. @@ -30,8 +30,8 @@ int main (int argc, char **argv) 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; }