diff options
author | Werner Koch <wk@gnupg.org> | 2009-05-20 11:08:48 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2009-05-20 11:08:48 +0200 |
commit | ad6326185ee9facc14f3a61797e3efa9c61c09c0 (patch) | |
tree | c8350879901a4ea27dda826878f1c64d6ebe9116 | |
parent | Fix possible system freeze on Mac OS X. (diff) | |
download | gnupg2-ad6326185ee9facc14f3a61797e3efa9c61c09c0.tar.xz gnupg2-ad6326185ee9facc14f3a61797e3efa9c61c09c0.zip |
Fix bug#1056.
Diffstat (limited to '')
-rw-r--r-- | g10/ChangeLog | 5 | ||||
-rw-r--r-- | g10/keygen.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog index c3f62394a..c45f2d1b4 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -1,3 +1,8 @@ +2009-05-20 Werner Koch <wk@g10code.com> + + * keygen.c (ask_key_flags): Fix bug in the translation check. + Fixes bug#1056. + 2009-05-18 Daiki Ueno <ueno@unixuser.org> (wk) * encode.c (encode_simple): Tell passphrase_to_dek to cache 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__); |