mirror of
git://git.gnupg.org/gnupg.git
synced 2024-06-08 23:37:47 +02:00
g10: fix --card-status creating stub.
* g10/getkey.c (get_seckeyblock_byfprint): Require exact match.
This commit is contained in:
parent
35d3ced4fd
commit
80521c3ff9
|
@ -1414,6 +1414,7 @@ get_seckeyblock_byfprint (KBNODE *ret_keyblock, const byte *fprint,
|
||||||
return G10ERR_GENERAL; /* Oops */
|
return G10ERR_GENERAL; /* Oops */
|
||||||
|
|
||||||
memset (&ctx, 0, sizeof ctx);
|
memset (&ctx, 0, sizeof ctx);
|
||||||
|
ctx.exact = 1 ;
|
||||||
ctx.not_allocated = 1;
|
ctx.not_allocated = 1;
|
||||||
ctx.kr_handle = keydb_new (1);
|
ctx.kr_handle = keydb_new (1);
|
||||||
ctx.nitems = 1;
|
ctx.nitems = 1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user