lukem
ee76095327
Fix -Wsign-compare issue
2009-04-14 09:53:08 +00:00
lukem
654f9595de
Default for -n is 100 not 99.
2008-04-05 04:02:06 +00:00
he
c8a9612d27
Initialize pw to placate -Wuninitialized for sh3.
2005-09-20 15:48:17 +00:00
wiz
f38e8b27b1
Sync usage with man page.
2005-09-19 22:43:21 +00:00
elad
f6deb21161
Add -k key and -p password.
...
Slightly modified diff from V. Hari.
PR/15736.
2005-09-18 21:50:20 +00:00
dsl
e219d781d7
Add (unsigned char) cast to ctype functions
2004-11-03 20:10:08 +00:00
jmmv
b635f565e7
Homogenize usage messages: make the 'usage' word all lowercase, as this seems
...
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
agc
a8d6388e6f
Add NetBSD RCS Ids.
2003-06-23 13:05:47 +00:00
itojun
4005e1b9e9
use strl*
2003-05-17 21:05:10 +00:00
itojun
0cf92ab036
use strlcpy
2002-11-16 05:24:44 +00:00
christos
d6f865b38c
use LOGIN_NAME_MAX not UT_NAMELEN.
...
remove utmp.h
2002-08-01 22:43:34 +00:00
itojun
f51456c273
err/errx/warn/warnx do not need \n at the end
2002-06-11 06:06:18 +00:00
itohy
f3e8a130b8
Make sure using stdin/stdout/stderr is safe
...
after opening any file.
2002-04-23 06:10:42 +00:00
wiz
f1bde32520
s/necesary/necessary/
2001-07-24 16:43:02 +00:00
christos
4a3d2be88b
make sure that me is null terminated.
2001-03-24 18:18:42 +00:00
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