mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-23 20:08:04 +01:00
scd:openpgp: Support GET DATA response with no header for DO 0x00FA.
* scd/app-openpgp.c (do_getattr): Support Gnuk, as well. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org> (cherry picked from commit 43bbc25b0f57dec24412886ff46041e0b1f3de26)
This commit is contained in:
parent
c4eada0787
commit
3d368c1a7d
@ -1213,8 +1213,8 @@ do_getattr (app_t app, ctrl_t ctrl, const char *name)
|
|||||||
if (valuelen < 2)
|
if (valuelen < 2)
|
||||||
return gpg_error (GPG_ERR_INV_OBJ);
|
return gpg_error (GPG_ERR_INV_OBJ);
|
||||||
|
|
||||||
tag = *p++;
|
tag = p[0];
|
||||||
len = *p++;
|
len = p[1];
|
||||||
|
|
||||||
/* Does it comes tag+len at the head? */
|
/* Does it comes tag+len at the head? */
|
||||||
if (tag == 0x00FA)
|
if (tag == 0x00FA)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user