mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
Fix bug 1186
This commit is contained in:
parent
f0ba5805e4
commit
9529d72b2c
@ -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>
|
||||
|
||||
* card-util.c (card_edit): Change prompt to "gpg/card".
|
||||
|
@ -1927,7 +1927,7 @@ ask_user_id( int mode )
|
||||
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