Fix bug#1056.

This commit is contained in:
Werner Koch 2009-05-20 09:08:48 +00:00
parent 4fa261f8ec
commit ad6326185e
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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__);