mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +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;
|
char **serialno = opaque;
|
||||||
const char *s, *s2;
|
const char *s, *s2;
|
||||||
|
|
||||||
if ((s = has_leading_keyword (line, "KEYINFO ")) && !*serialno)
|
if ((s = has_leading_keyword (line, "KEYINFO")) && !*serialno)
|
||||||
{
|
{
|
||||||
s = strchr (s, ' ');
|
s = strchr (s, ' ');
|
||||||
if (s && s[1] == 'T' && s[2] == ' ' && s[3])
|
if (s && s[1] == 'T' && s[2] == ' ' && s[3])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user