aboutsummaryrefslogtreecommitdiffstats
path: root/src/keylist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keylist.c')
-rw-r--r--src/keylist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/keylist.c b/src/keylist.c
index 05267e6c..a003179e 100644
--- a/src/keylist.c
+++ b/src/keylist.c
@@ -423,6 +423,7 @@ parse_sec_field15 (gpgme_key_t key, gpgme_subkey_t subkey, char *field)
{
/* Fields starts with a hex digit; thus it is a serial number. */
key->secret = 1;
+ subkey->secret = 1;
subkey->is_cardkey = 1;
subkey->card_number = strdup (field);
if (!subkey->card_number)