g10: Bring cache semantics closer to non-cache semantics.
authorNeal H. Walfield <neal@g10code.com>
Wed, 16 Sep 2015 11:13:46 +0000 (13:13 +0200)
committerNeal H. Walfield <neal@g10code.com>
Wed, 16 Sep 2015 13:15:26 +0000 (15:15 +0200)
commit5e233e12f55be00f5659c63bc32fbdca2ec93136
tree686f817104f7895fa74cfa5a722353d03a5b31c0
parent3940f10af7915b080bf4ed25ceb7e20b52e3cd3e
g10: Bring cache semantics closer to non-cache semantics.

* g10/getkey.c (get_pubkey_fast): When reading from the cache, only
consider primary keys.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>.
g10/getkey.c