aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--g10/getkey.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/g10/getkey.c b/g10/getkey.c
index 0aca88ca1..f375bf45b 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -1917,10 +1917,6 @@ parse_def_secret_key (ctrl_t ctrl)
{
PKT_public_key *pk = node->pkt->pkt.public_key;
- /* Check that the key has the signing capability. */
- if (! (pk->pubkey_usage & PUBKEY_USAGE_SIG))
- continue;
-
/* Check if the key is valid. */
if (pk->flags.revoked)
{