]> granicus.if.org Git - linux-pam/commitdiff
Relevant BUGIDs:
authorThorsten Kukuk <kukuk@thkukuk.de>
Tue, 25 Nov 2008 14:29:41 +0000 (14:29 +0000)
committerThorsten Kukuk <kukuk@thkukuk.de>
Tue, 25 Nov 2008 14:29:41 +0000 (14:29 +0000)
Purpose of commit: bugfix

Commit summary:
---------------

2008-11-25  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_pwhistory/opasswd.c (save_old_password): Fix typo.

ChangeLog
modules/pam_pwhistory/opasswd.c

index 4f688036519c54b005bc8d8921fb04ef2b68cf7c..7bffdbcfebcbef21214d433058addf19c463b6ee 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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).
 
index 89452d3f5291d0e51dc06fa58e498a1004ab3794..fd4cd251497e9c6b85d3a46494e5314c33e6cf99 100644 (file)
@@ -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)
                      {