diff options
author | Werner Koch <wk@gnupg.org> | 1999-01-07 18:05:48 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1999-01-07 18:05:48 +0100 |
commit | 7d0efec7cf5ae110c99511abc32587ff0c45b14f (patch) | |
tree | c25f43c0b175ca31c84da4e9a256b259ea070fc7 /g10/parse-packet.c | |
parent | See ChangeLog: Sun Jan 3 15:28:44 CET 1999 Werner Koch (diff) | |
download | gnupg2-7d0efec7cf5ae110c99511abc32587ff0c45b14f.tar.xz gnupg2-7d0efec7cf5ae110c99511abc32587ff0c45b14f.zip |
See ChangeLog: Thu Jan 7 18:00:58 CET 1999 Werner Koch
Diffstat (limited to 'g10/parse-packet.c')
-rw-r--r-- | g10/parse-packet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/parse-packet.c b/g10/parse-packet.c index 5bee45b32..3acce404b 100644 --- a/g10/parse-packet.c +++ b/g10/parse-packet.c @@ -1201,6 +1201,7 @@ parse_key( IOBUF inp, int pkttype, unsigned long pktlen, sk->expiredate = expiredate; sk->hdrbytes = hdrlen; sk->version = version; + sk->is_primary = pkttype == PKT_SECRET_KEY; sk->pubkey_algo = algorithm; sk->pubkey_usage = 0; /* not yet used */ } |