diff options
author | Werner Koch <wk@gnupg.org> | 2016-01-08 15:16:12 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2016-01-08 15:16:12 +0100 |
commit | 34bca9cd4b8517795833cb754b0d5b1dd33b08ed (patch) | |
tree | 08a55002b05183106ff982f980fdb08a8c179d0b /g10/packet.h | |
parent | Print warnings if old daemon versions are used. (diff) | |
download | gnupg2-34bca9cd4b8517795833cb754b0d5b1dd33b08ed.tar.xz gnupg2-34bca9cd4b8517795833cb754b0d5b1dd33b08ed.zip |
gpg: Add an exact search flag to the PK struct.
* g10/getkey.c (merge_selfsigs_subkey): Clear exact flag.
(finish_lookup): Set exact flag.
* g10/packet.h (PKT_public_key): Add field flags.exact.
--
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to '')
-rw-r--r-- | g10/packet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/packet.h b/g10/packet.h index 9eb16cfd8..16524f801 100644 --- a/g10/packet.h +++ b/g10/packet.h @@ -298,6 +298,7 @@ typedef struct unsigned int dont_cache:1; /* Do not cache this key. */ unsigned int backsig:2; /* 0=none, 1=bad, 2=good. */ unsigned int serialno_valid:1;/* SERIALNO below is valid. */ + unsigned int exact:1; /* Found via exact (!) search. */ } flags; PKT_user_id *user_id; /* If != NULL: found by that uid. */ struct revocation_key *revkey; |