diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | modules/pam_pwhistory/opasswd.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,7 @@ 2008-11-25 Thorsten Kukuk <kukuk@thkukuk.de> + * modules/pam_pwhistory/opasswd.c (save_old_password): Fix typo. + * modules/pam_time/pam_time.c (is_same): Fix check of correct string length (debian bug #326407). diff --git a/modules/pam_pwhistory/opasswd.c b/modules/pam_pwhistory/opasswd.c index 89452d3f..fd4cd251 100644 --- a/modules/pam_pwhistory/opasswd.c +++ b/modules/pam_pwhistory/opasswd.c @@ -381,7 +381,7 @@ save_old_password (pam_handle_t *pamh, const char *user, uid_t uid, } else { - if (asprintf (&out, "%s:%si%d:%s,%s\n", + if (asprintf (&out, "%s:%s:%d:%s,%s\n", entry.user, entry.uid, entry.count, entry.old_passwords, oldpass) < 0) { |