mirror of
https://github.com/openbsd/src.git
synced 2024-12-22 16:42:56 -08:00
oops
This commit is contained in:
parent
dcb896440f
commit
41e7c42502
@ -1,4 +1,4 @@
|
||||
/* * $OpenBSD: skey.c,v 1.13 1999/12/04 21:20:20 deraadt Exp $*/
|
||||
/* * $OpenBSD: skey.c,v 1.14 1999/12/04 21:27:18 deraadt Exp $*/
|
||||
/*
|
||||
* S/KEY v1.1b (skey.c)
|
||||
*
|
||||
@ -62,7 +62,7 @@ main(argc, argv)
|
||||
case 'p':
|
||||
if (i + 1 == argc)
|
||||
usage(argv[0]);
|
||||
if (strlcpy(passwd, argv[++i], sizeof(passwd)) >
|
||||
if (strlcpy(passwd, argv[++i], sizeof(passwd)) >=
|
||||
sizeof(passwd))
|
||||
errx(1, "Password too long");
|
||||
pass = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user