1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

Fix bug#1186

This commit is contained in:
Werner Koch 2010-02-17 10:26:32 +00:00
parent 203f54a634
commit a76c7b96e5

View File

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