summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-06-23 22:29:15 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-06-23 22:29:15 +0000
commitad0ed468ad088f856250e96707f0f40be05bf5ab (patch)
treeb45e4db05e93da9ef4e898e290d3a2f55c09c439 /usr.bin
parent015df265c53a42d99e1ef1280372510c1a470017 (diff)
skeyzero() now takes 1 arg
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/skeyinit/skeyinit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/skeyinit/skeyinit.c b/usr.bin/skeyinit/skeyinit.c
index 7ab7378f276..28f18a8803d 100644
--- a/usr.bin/skeyinit/skeyinit.c
+++ b/usr.bin/skeyinit/skeyinit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: skeyinit.c,v 1.28 2001/06/20 22:25:08 millert Exp $ */
+/* $OpenBSD: skeyinit.c,v 1.29 2001/06/23 22:29:14 millert Exp $ */
/* OpenBSD S/Key (skeyinit.c)
*
@@ -188,7 +188,7 @@ main(argc, argv)
case 0:
/* comment out user if asked to */
if (zerokey)
- exit(skeyzero(&skey, pp->pw_name));
+ exit(skeyzero(&skey));
(void)printf("[Updating %s with %s]\n", pp->pw_name,
ht ? ht : skey_get_algorithm());
@@ -276,7 +276,7 @@ main(argc, argv)
/* If new entry is longer than the old, comment out the old. */
if (nlen > skey.len) {
- (void)skeyzero(&skey, pp->pw_name);
+ (void)skeyzero(&skey);
/* Re-open keys file and seek to the end */
if (skeylookup(&skey, pp->pw_name) == -1)
err(1, "cannot reopen database");