Commit Graph

14 Commits

Author SHA1 Message Date
thorpej c48cedd0f4 Filter out non-alpha-numeric characters from the default
seed.  No point in generating one that skey(1) will reject.
2000-07-28 19:19:23 +00:00
mjl 5bae709009 Bring s/key closer to RFC2289 conformance by pulling in changes
from OpenBSD to make use of different hash functions possible.
Also ANSIfy, make it use getopt instead of home-grown arg parsing,
and clean up a bit.
2000-07-07 00:18:29 +00:00
christos f6d2541fc5 portability in printf args.
char -> unsigned char
1998-12-19 22:18:00 +00:00
mycroft 48625216b5 const poisoning. 1998-07-26 22:21:02 +00:00
mrg ad3390c64d nul-terminated strftime buffer. remove duplicate call to setpriority. 1998-07-06 14:54:05 +00:00
mrg 2beab49a06 - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:45:41 +00:00
lukem adb472c43d WARNSify, fix .Nm usage, xref all s/key related programs 1997-10-19 23:24:42 +00:00
mrg a4424f42c3 use strncpy. 1997-02-11 09:25:24 +00:00
pk e0431ba116 #include <err.h> & <ctype.h>; remove extraneous declarations. 1995-06-05 19:50:48 +00:00
cgd f752024932 stdlib.h, RCS ID format 1994-12-24 17:42:04 +00:00
deraadt 6f91f0628a better seed initialization 1994-05-30 04:52:26 +00:00
cgd a01b12f71c reorg include order, also add <sys/param.h> for MAXHOSTNAMELEN 1994-05-30 03:54:37 +00:00
deraadt c2307c152b fix bug 266 1994-05-29 22:38:39 +00:00
deraadt 8b02aa3939 add skey & friends 1994-05-24 06:47:42 +00:00