diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2002-04-08 11:07:51 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2002-04-08 11:07:51 +0000 |
| commit | f2f306b6227ffcddfd121d3b5a1397ba1ebe62d1 (patch) | |
| tree | 5842dcbef4b6d5d1252ae852601802c37e2f7ecd /lib/libpam/modules/pam_unix/pam_unix.c | |
| parent | b00ba4ccbbc47007464062814d062702e3123276 (diff) | |
Notes
Diffstat (limited to 'lib/libpam/modules/pam_unix/pam_unix.c')
| -rw-r--r-- | lib/libpam/modules/pam_unix/pam_unix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpam/modules/pam_unix/pam_unix.c b/lib/libpam/modules/pam_unix/pam_unix.c index 42317f728364..ed74b9002e7a 100644 --- a/lib/libpam/modules/pam_unix/pam_unix.c +++ b/lib/libpam/modules/pam_unix/pam_unix.c @@ -121,8 +121,7 @@ pam_sm_authenticate(pam_handle_t *pamh, int flags __unused, int argc, const char struct options options; struct passwd *pwd; int retval; - const char *pass, *user, *realpw; - char *prompt; + const char *pass, *user, *realpw, *prompt; pam_std_option(&options, other_options, argc, argv); @@ -477,7 +476,8 @@ local_passwd(const char *user, const char *pass) login_cap_t * lc; struct passwd *pwd; int pfd, tfd; - char *crypt_type, salt[SALTSIZE + 1]; + const char *crypt_type; + char salt[SALTSIZE + 1]; pwd = getpwnam(user); if (pwd == NULL) |
