From 5b6f270f1df97437ca706ddfd004dd9bc66af748 Mon Sep 17 00:00:00 2001 From: Charl Botha Date: Wed, 8 Nov 2000 00:54:16 +0000 Subject: Fixed minor typo. --- pam_pwdfile.c | 4 ++-- 1 file 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 * - * $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))); -- cgit v1.2.3