diff options
| author | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-06-11 19:33:05 +0000 |
|---|---|---|
| committer | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-06-11 19:33:05 +0000 |
| commit | d3628763db3974826e46a036aa54333147fbe238 (patch) | |
| tree | ba998dfb4fcad03e00a5cbf58e2a0ad648bab6e6 /lib/libskey/skey_crypt.c | |
| parent | 67eb1e0ed1fb11c703392e562440c67d3b44b094 (diff) | |
Notes
Diffstat (limited to 'lib/libskey/skey_crypt.c')
| -rw-r--r-- | lib/libskey/skey_crypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libskey/skey_crypt.c b/lib/libskey/skey_crypt.c index ca1024f77418..79e56358141e 100644 --- a/lib/libskey/skey_crypt.c +++ b/lib/libskey/skey_crypt.c @@ -20,7 +20,7 @@ int pwok; /* Try s/key authentication even when the UNIX password is permitted. */ - if (pwd != 0 && skeylookup(&skey, pwd->pw_name) == 0 + if (pwd != 0 && skeyinfo(&skey, pwd->pw_name, (char *) 0) == 0 && skeyverify(&skey, pp) == 0) { /* s/key authentication succeeded */ return (pwd->pw_passwd); |
