aboutsummaryrefslogtreecommitdiffstats
path: root/g10/getkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/getkey.c')
-rw-r--r--g10/getkey.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/getkey.c b/g10/getkey.c
index 6c14683d4..476445f25 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -1414,6 +1414,7 @@ get_seckeyblock_byfprint (KBNODE *ret_keyblock, const byte *fprint,
return G10ERR_GENERAL; /* Oops */
memset (&ctx, 0, sizeof ctx);
+ ctx.exact = 1 ;
ctx.not_allocated = 1;
ctx.kr_handle = keydb_new (1);
ctx.nitems = 1;