mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-21 14:47:03 +01:00
Fix bug#1186.
This commit is contained in:
parent
299aeda4b0
commit
1b7c791186
@ -1,3 +1,8 @@
|
||||
2010-02-17 Werner Koch <wk@g10code.com>
|
||||
|
||||
* keygen.c (ask_user_id): Avoid infinite loop in case of invalid
|
||||
data. Fixes bug#1186.
|
||||
|
||||
2010-02-02 Werner Koch <wk@g10code.com>
|
||||
|
||||
* keyedit.c (keyedit_menu): Change prompt to "gpg".
|
||||
|
@ -2203,7 +2203,7 @@ ask_user_id (int mode, KBNODE keyblock)
|
||||
if( strlen(ansstr) != 10 )
|
||||
BUG();
|
||||
if( cpr_enabled() ) {
|
||||
answer = xstrdup(ansstr+6);
|
||||
answer = xstrdup (ansstr + (fail?8:6));
|
||||
answer[1] = 0;
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user