diff options
Diffstat (limited to 'lib/libskey/skey_crypt.c')
-rw-r--r-- | lib/libskey/skey_crypt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libskey/skey_crypt.c b/lib/libskey/skey_crypt.c index 6ed6bdb..4e3a141 100644 --- a/lib/libskey/skey_crypt.c +++ b/lib/libskey/skey_crypt.c @@ -3,12 +3,13 @@ #include <string.h> #include <stdio.h> #include <pwd.h> +#include <unistd.h> #include "skey.h" /* skey_crypt - return encrypted UNIX passwd if s/key or regular password ok */ -char *skey_crypt(pp, salt, pwd, pwok) +const char *skey_crypt(pp, salt, pwd, pwok) char *pp; char *salt; struct passwd *pwd; @@ -16,7 +17,6 @@ int pwok; { struct skey skey; char *p; - char *crypt(); /* Try s/key authentication even when the UNIX password is permitted. */ |