summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2008-11-25 14:29:41 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2008-11-25 14:29:41 +0000
commitcf4f02cdbdd015b8360cc3fdf905afc2602b4d37 (patch)
tree8b9756168f0dfd92008af676d01c2999de70791e
parentc7d0b27a8b9647e8c4f981541dab352761bb91d5 (diff)
Relevant BUGIDs:
Purpose of commit: bugfix Commit summary: --------------- 2008-11-25 Thorsten Kukuk <kukuk@thkukuk.de> * modules/pam_pwhistory/opasswd.c (save_old_password): Fix typo.
-rw-r--r--ChangeLog2
-rw-r--r--modules/pam_pwhistory/opasswd.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4f688036..7bffdbcf 100644
--- 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).
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)
{