summaryrefslogtreecommitdiffstats
path: root/g10/getkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/getkey.c')
-rw-r--r--g10/getkey.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/g10/getkey.c b/g10/getkey.c
index cc908964e..3f1bd7e70 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -1859,11 +1859,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)
- && ! (pk->pubkey_usage & PUBKEY_USAGE_CERT))
- continue;
-
/* Check if the key is valid. */
if (pk->flags.revoked)
{