diff options
Diffstat (limited to '')
-rw-r--r-- | g10/keydb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/keydb.c b/g10/keydb.c index bafae18a1..a578c7cb7 100644 --- a/g10/keydb.c +++ b/g10/keydb.c @@ -1424,6 +1424,9 @@ keydb_search (KEYDB_HANDLE hd, KEYDB_SEARCH_DESC *desc, if (DBG_CACHE) dump_search_desc (hd, "keydb_search", desc, ndesc); + /* NB: If one of the exact search modes below is used in a loop to + walk over all keys (with the same fingerprint) the caching must + have been disabled for the handle. */ if (!hd->no_caching && ndesc == 1 && (desc[0].mode == KEYDB_SEARCH_MODE_FPR20 |