mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-31 11:41:32 +01:00
gpg: Fix regression not displaying the card serial number
* g10/call-agent.c (keyinfo_status_cb): Detect KEYINFO. -- This regression is due to commit 585d5c62eece23911a768d97d11f159be138b13d from February 2013! Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
154abaf3c9
commit
173b26c8f8
@ -1626,7 +1626,7 @@ keyinfo_status_cb (void *opaque, const char *line)
|
||||
char **serialno = opaque;
|
||||
const char *s, *s2;
|
||||
|
||||
if ((s = has_leading_keyword (line, "KEYINFO ")) && !*serialno)
|
||||
if ((s = has_leading_keyword (line, "KEYINFO")) && !*serialno)
|
||||
{
|
||||
s = strchr (s, ' ');
|
||||
if (s && s[1] == 'T' && s[2] == ' ' && s[3])
|
||||
|
Loading…
x
Reference in New Issue
Block a user