From 315bef463935d5e729d1386a514aaf46f74d2998 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Tue, 3 Jul 2012 18:33:39 +0900 Subject: [PATCH] Bug fix for PW1 --- src/openpgp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openpgp.c b/src/openpgp.c index d080deb..81111a8 100644 --- a/src/openpgp.c +++ b/src/openpgp.c @@ -429,6 +429,7 @@ cmd_reset_user_password (void) else { DEBUG_INFO ("done.\r\n"); + gpg_do_write_simple (NR_DO_KEYSTRING_PW1, new_ks0, 1); ac_reset_pso_cds (); ac_reset_other (); gpg_pw_reset_err_counter (PW_ERR_RC); @@ -475,6 +476,7 @@ cmd_reset_user_password (void) else { DEBUG_INFO ("done.\r\n"); + gpg_do_write_simple (NR_DO_KEYSTRING_PW1, new_ks0, 1); ac_reset_pso_cds (); ac_reset_other (); gpg_pw_reset_err_counter (PW_ERR_PW1);