diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-06-23 21:42:40 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-06-23 21:42:40 +0000 |
commit | 5e31f19a9c87b3468d34674b11470d6346e16e78 (patch) | |
tree | fcbb2441f5b530c5644dade113ac09becf1d5d5d | |
parent | 1eeb71bf8fbf709377158a50281edf62a61710ea (diff) |
skeyzero() never uses its 2nd arg so remove it. Since the only thing
that calls skeyzero() is skeyinit and I just updated the libskey
major I am not going to bump the major again here...
-rw-r--r-- | lib/libskey/skey.3 | 12 | ||||
-rw-r--r-- | lib/libskey/skeylogin.c | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/lib/libskey/skey.3 b/lib/libskey/skey.3 index 6960a2b0baf..8b209356414 100644 --- a/lib/libskey/skey.3 +++ b/lib/libskey/skey.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: skey.3,v 1.1 2001/06/23 21:34:40 millert Exp $ +.\" $OpenBSD: skey.3,v 1.2 2001/06/23 21:42:39 millert Exp $ .\" .\" Copyright (c) 2001 Todd C. Miller <Todd.Miller@courtesan.com> .\" All rights reserved. @@ -107,7 +107,7 @@ .Ft int .Fn skeyverify "struct skey *rec" "char *response" .Ft int -.Fn skeyzero "struct skey *" "char *user" +.Fn skeyzero "struct skey *" .Ft char * .Fn skipspace "char *" .Sh DESCRIPTION @@ -363,14 +363,12 @@ The database is always closed by a call to The .Fn skeyzero function zeroes out the entry in the S/Key database specified by -.Fa rec -and -.Fa user . +.Fa rec . The .Fn skeyzero function returns 0 on success and -1 if there was an error updating the database. -The database is always closed by a call to +The S/Key database is always closed by a call to .Fn skeyzero . .Sh SEE ALSO .Xr skey 1 , @@ -390,3 +388,5 @@ the original Bellcore S/Key distribution: .Fn skey_set_algorithm , .Fn skey_unlock , .Fn skeyzero . +.Pp +S/Key is a Trademark of Bellcore. diff --git a/lib/libskey/skeylogin.c b/lib/libskey/skeylogin.c index 166670352af..aa762237fda 100644 --- a/lib/libskey/skeylogin.c +++ b/lib/libskey/skeylogin.c @@ -10,7 +10,7 @@ * * S/Key verification check, lookups, and authentication. * - * $OpenBSD: skeylogin.c,v 1.38 2001/06/20 22:15:45 millert Exp $ + * $OpenBSD: skeylogin.c,v 1.39 2001/06/23 21:42:39 millert Exp $ */ #include <sys/param.h> @@ -678,10 +678,10 @@ skey_authenticate(username) * The database file is always closed by this call. */ int -skeyzero(mp, response) +skeyzero(mp) struct skey *mp; - char *response; { + /* * Seek to the right place and write comment character * which effectively zero's out the entry. |