summaryrefslogtreecommitdiffstats
path: root/g10/keygen.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2009-05-20 11:08:48 +0200
committerWerner Koch <wk@gnupg.org>2009-05-20 11:08:48 +0200
commitad6326185ee9facc14f3a61797e3efa9c61c09c0 (patch)
treec8350879901a4ea27dda826878f1c64d6ebe9116 /g10/keygen.c
parentFix possible system freeze on Mac OS X. (diff)
downloadgnupg2-ad6326185ee9facc14f3a61797e3efa9c61c09c0.tar.xz
gnupg2-ad6326185ee9facc14f3a61797e3efa9c61c09c0.zip
Fix bug#1056.
Diffstat (limited to '')
-rw-r--r--g10/keygen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keygen.c b/g10/keygen.c
index 1be65c42e..baacd75cc 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -1555,7 +1555,7 @@ ask_key_flags(int algo,int subkey)
unsigned int current=0;
unsigned int possible=openpgp_pk_algo_usage(algo);
- if ( strlen(togglers) != 7 )
+ if ( strlen(togglers) != 8 )
{
tty_printf ("NOTE: Bad translation at %s:%d. "
"Please report.\n", __FILE__, __LINE__);