diff options
| author | Paul Traina <pst@FreeBSD.org> | 1994-10-19 00:03:45 +0000 |
|---|---|---|
| committer | Paul Traina <pst@FreeBSD.org> | 1994-10-19 00:03:45 +0000 |
| commit | 2ddadf840c8d36ddbe8f3ebe10e718016126e00f (patch) | |
| tree | 18581614639f8a987cdf2526bd645ecfdd38abd3 /usr.bin/keyinit/skeyinit.c | |
| parent | 1c423e89edcc640179d4ef310390bb3d6ab5a302 (diff) | |
Notes
Diffstat (limited to 'usr.bin/keyinit/skeyinit.c')
| -rw-r--r-- | usr.bin/keyinit/skeyinit.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/usr.bin/keyinit/skeyinit.c b/usr.bin/keyinit/skeyinit.c index 7c8e5d6f1c6d..5dfd1b19f12e 100644 --- a/usr.bin/keyinit/skeyinit.c +++ b/usr.bin/keyinit/skeyinit.c @@ -4,17 +4,15 @@ #include <stdio.h> #include <string.h> #include <pwd.h> -#include <skey.h> #include <time.h> +#include <skey.h> + extern int optind; extern char *optarg; -char * readpass(); - -int skeylookup __P((struct skey *mp,char *name)); - #define NAMELEN 2 + int main(argc,argv) int argc; @@ -103,7 +101,7 @@ char *argv[]; printf("Reminder you need the 6 english words from the skey command.\n"); for(i=0;;i++){ if(i >= 2) exit(1); - printf("Enter sequence count from 1 to 10000: "); + printf("Enter sequence count from 1 to 9999: "); fgets(tmp,sizeof(tmp),stdin); n = atoi(tmp); if(n > 0 && n < 10000) @@ -126,7 +124,6 @@ char *argv[]; printf("s/key %d %s\ns/key access password: ",n,seed); fgets(tmp,sizeof(tmp),stdin); rip(tmp); - backspace(tmp); if(tmp[0] == '?'){ printf("Enter 6 English words from secure S/Key calculation.\n"); continue; |
