g10: Also mark revoked and expired keys as unusable.
authorNeal H. Walfield <neal@g10code.com>
Wed, 16 Sep 2015 12:05:03 +0000 (14:05 +0200)
committerNeal H. Walfield <neal@g10code.com>
Wed, 16 Sep 2015 13:15:29 +0000 (15:15 +0200)
commit77c2ad4a817c129b899708399ed2078a52b452b8
tree17e4d4600b2a39a9ed1f061c51d2caceec612897
parent1b601de06a57c78537a336093d2531d8c58bc0d2
g10: Also mark revoked and expired keys as unusable.

* g10/getkey.c (skip_unusable): Also mark the key as unusable if it
has been revoked or has expired.

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