gpg: Skip legacy keys while searching keyrings.
authorWerner Koch <wk@gnupg.org>
Mon, 23 Feb 2015 15:37:57 +0000 (16:37 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 23 Feb 2015 15:37:57 +0000 (16:37 +0100)
commita8116aacd91b7e775762a62c268fab6cc3c77438
tree4663eb3280f294c384c234dfb2b82cb25aa41c8b
parentd9f6eea6115df7959564123eb99d633ce5bba42e
gpg: Skip legacy keys while searching keyrings.

* g10/getkey.c (search_modes_are_fingerprint): New.
(lookup): Skip over legacy keys.
--

GnuPG-bug-id: 1847
Signed-off-by: Werner Koch <wk@gnupg.org>
g10/getkey.c