summaryrefslogtreecommitdiff
path: root/debian/patches-applied
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches-applied')
-rw-r--r--debian/patches-applied/007_modules_pam_unix2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/patches-applied/007_modules_pam_unix b/debian/patches-applied/007_modules_pam_unix
index 608eea06..708db65b 100644
--- a/debian/patches-applied/007_modules_pam_unix
+++ b/debian/patches-applied/007_modules_pam_unix
@@ -623,7 +623,7 @@ Index: pam.deb/modules/pam_unix/passverify.c
&& (curdays - spent->sp_lstchg > spent->sp_max + spent->sp_inact)
- && (spent->sp_max != -1) && (spent->sp_inact != -1)) {
+ && (spent->sp_max != -1) && (spent->sp_max != 0)
-+ && (spent->sp_inact != -1) && spent->sp_inact != 0))
++ && (spent->sp_inact != -1) && (spent->sp_inact != 0))
+ {
*daysleft = (int)((spent->sp_lstchg + spent->sp_max) - curdays);
D(("authtok expired"));