aboutsummaryrefslogtreecommitdiff
path: root/pam_pwdfile.c
diff options
context:
space:
mode:
authorCharl Botha <cpbotha@cpbotha.net>2000-11-08 00:54:16 +0000
committerCharl Botha <cpbotha@cpbotha.net>2000-11-08 00:54:16 +0000
commit5b6f270f1df97437ca706ddfd004dd9bc66af748 (patch)
treeb94ad86fada63ee8af0dfb98c6b490a0cf3d29a9 /pam_pwdfile.c
parent89a7576c6df54e25cea4778a1fa83666afdc8fbf (diff)
downloadlibpam-pwdfile-5b6f270f1df97437ca706ddfd004dd9bc66af748.tar.gz
Fixed minor typo.
Diffstat (limited to 'pam_pwdfile.c')
-rw-r--r--pam_pwdfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pam_pwdfile.c b/pam_pwdfile.c
index f7321e0..17b925d 100644
--- a/pam_pwdfile.c
+++ b/pam_pwdfile.c
@@ -1,6 +1,6 @@
/* pam_pwdfile.c copyright 1999 by Charl P. Botha <cpbotha@ieee.org>
*
- * $Id: pam_pwdfile.c,v 1.6 2000-11-08 00:44:19 cpbotha Exp $
+ * $Id: pam_pwdfile.c,v 1.7 2000-11-08 00:54:16 cpbotha Exp $
*
* pam authentication module that can be pointed at any username/crypted
* text file so that pam using application can use an alternate set of
@@ -330,7 +330,7 @@ PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh, int flags,
strncpy(salt, crypted_password, 2);
salt[2] = '\0';
}
- crypted_passwd[CRYPTEDPWD_LEN] = '\0';
+ crypted_password[CRYPTEDPWD_LEN] = '\0';
/* DEBUG */
D(_pam_log(LOG_ERR,"user password crypted is %s", crypt(password,salt)));