aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keyedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/keyedit.c')
-rw-r--r--g10/keyedit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/g10/keyedit.c b/g10/keyedit.c
index 42ece5496..7b696c53b 100644
--- a/g10/keyedit.c
+++ b/g10/keyedit.c
@@ -1003,8 +1003,10 @@ change_passphrase( KBNODE keyblock )
" this is probably a *bad* idea!\n\n"));
if( cpr_get_answer_is_yes("change_passwd.empty.okay",
_("Do you really want to do this? ")))
+ {
changed++;
- break;
+ break;
+ }
}
else { /* okay */
rc = 0;