summaryrefslogtreecommitdiffstats
path: root/g10/misc.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-10-20 13:33:50 +0200
committerWerner Koch <wk@gnupg.org>2010-10-20 13:33:50 +0200
commitcc99c375491c88e85190c25648419a8e627b08f6 (patch)
tree5cb3eda1226608f68e398a6a7f007f8381127dde /g10/misc.c
parentInstall the mo files on W32 platforms (diff)
downloadgnupg2-cc99c375491c88e85190c25648419a8e627b08f6.tar.xz
gnupg2-cc99c375491c88e85190c25648419a8e627b08f6.zip
Make public key data structure easier to read.
Check vor v1 card while signing.
Diffstat (limited to 'g10/misc.c')
-rw-r--r--g10/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/misc.c b/g10/misc.c
index e3bebdd20..cbbba9bc3 100644
--- a/g10/misc.c
+++ b/g10/misc.c
@@ -657,7 +657,7 @@ pct_expando(const char *string,struct expando_args *args)
if((*(ch+1))=='p' && args->pksk)
{
- if(args->pksk->is_primary)
+ if(args->pksk->flags.primary)
fingerprint_from_pk (args->pksk, array, &len);
else if (args->pksk->main_keyid[0]
|| args->pksk->main_keyid[1])