summaryrefslogtreecommitdiffstats
path: root/lib/libskey/skey_crypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libskey/skey_crypt.c')
-rw-r--r--lib/libskey/skey_crypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libskey/skey_crypt.c b/lib/libskey/skey_crypt.c
index ca1024f..79e5635 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);
OpenPOWER on IntegriCloud