mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-08 12:44:23 +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>
|
2010-02-02 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* card-util.c (card_edit): Change prompt to "gpg/card".
|
* card-util.c (card_edit): Change prompt to "gpg/card".
|
||||||
|
@ -1927,7 +1927,7 @@ ask_user_id( int mode )
|
|||||||
if( strlen(ansstr) != 10 )
|
if( strlen(ansstr) != 10 )
|
||||||
BUG();
|
BUG();
|
||||||
if( cpr_enabled() ) {
|
if( cpr_enabled() ) {
|
||||||
answer = xstrdup(ansstr+6);
|
answer = xstrdup (ansstr + (fail?8:6));
|
||||||
answer[1] = 0;
|
answer[1] = 0;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user