bug fix of pw1 lifetime

This commit is contained in:
NIIBE Yutaka
2010-11-30 12:50:28 +09:00
parent f67604e7ba
commit 27543cfeca
2 changed files with 3 additions and 1 deletions

View File

@@ -590,7 +590,7 @@ cmd_pso (void)
}
else
{ /* Success */
if (gpg_get_pw1_lifetime ())
if (gpg_get_pw1_lifetime () == 0)
ac_reset_pso_cds ();
gpg_increment_digital_signature_counter ();