aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--g10/card-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/card-util.c b/g10/card-util.c
index 411a4d482..84752eb0b 100644
--- a/g10/card-util.c
+++ b/g10/card-util.c
@@ -1570,7 +1570,7 @@ card_store_subkey (KBNODE node, int use)
goto leave;
}
- allow_keyno[0] = (!use || (use & (PUBKEY_USAGE_SIG)));
+ allow_keyno[0] = (!use || (use & (PUBKEY_USAGE_SIG|PUBKEY_USAGE_CERT)));
allow_keyno[1] = (!use || (use & (PUBKEY_USAGE_ENC)));
allow_keyno[2] = (!use || (use & (PUBKEY_USAGE_SIG|PUBKEY_USAGE_AUTH)));