aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keygen.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1999-09-01 13:40:07 +0000
committerWerner Koch <[email protected]>1999-09-01 13:40:07 +0000
commit0428ca6da6d18a2579fe81a1a77e184007bab9fb (patch)
tree644594a4ddc9d68649ecad3df72f5e97f5832588 /g10/keygen.c
parentSee ChangeLog: Tue Aug 31 17:20:44 CEST 1999 Werner Koch (diff)
downloadgnupg-0428ca6da6d18a2579fe81a1a77e184007bab9fb.tar.gz
gnupg-0428ca6da6d18a2579fe81a1a77e184007bab9fb.zip
See ChangeLog: Wed Sep 1 15:30:44 CEST 1999 Werner Koch
Diffstat (limited to '')
-rw-r--r--g10/keygen.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/g10/keygen.c b/g10/keygen.c
index e1ed9aa47..ceff09d10 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -559,9 +559,8 @@ ask_expire_interval(void)
asctimestamp(curtime + interval ) );
}
- if( !cpr_enabled()
- && cpr_get_answer_is_yes("keygen.valid.okay",
- _("Is this correct (y/n)? ")) )
+ if( cpr_enabled() || cpr_get_answer_is_yes("keygen.valid.okay",
+ _("Is this correct (y/n)? ")) )
break;
}
m_free(answer);