summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2004-06-06 11:24:14 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2004-06-06 11:24:14 +0000
commite5d6f2bb4eee62514431941dba6af9c821993aa9 (patch)
tree9fd0800849b3126c6ea55a0599a333162ffcb429
parentd03e72ac3a1d15662d2e3c4a5fb19ae9ee35ddc6 (diff)
First sequence number should be 100, as promised by man page.
ok hshoexer@ millert@
-rw-r--r--usr.bin/skeyinit/skeyinit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/skeyinit/skeyinit.c b/usr.bin/skeyinit/skeyinit.c
index f86687cfa19..4370e39a4bc 100644
--- a/usr.bin/skeyinit/skeyinit.c
+++ b/usr.bin/skeyinit/skeyinit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: skeyinit.c,v 1.46 2004/06/04 18:18:20 otto Exp $ */
+/* $OpenBSD: skeyinit.c,v 1.47 2004/06/06 11:24:13 otto Exp $ */
/* OpenBSD S/Key (skeyinit.c)
*
@@ -290,7 +290,7 @@ main(int argc, char **argv)
fchmod(fileno(skey.keyfile), S_IRUSR | S_IWUSR) != 0)
err(1, "can't set owner/mode for %s", pp->pw_name);
if (n == 0)
- n = 99;
+ n = 100;
/* Set hash type if asked to */
if (ht && strcmp(ht, skey_get_algorithm()) != 0)