From 7d0efec7cf5ae110c99511abc32587ff0c45b14f Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 7 Jan 1999 17:05:48 +0000 Subject: See ChangeLog: Thu Jan 7 18:00:58 CET 1999 Werner Koch --- g10/parse-packet.c | 1 + 1 file changed, 1 insertion(+) (limited to 'g10/parse-packet.c') 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 */ } -- cgit v1.2.3