mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-24 22:09:57 +01:00
Fixed segv
This commit is contained in:
parent
e5a03c84f7
commit
4fdc6387c3
@ -1,3 +1,8 @@
|
||||
2006-04-08 Werner Koch <wk@g10code.com>
|
||||
|
||||
* mainproc.c (list_node): Print ring trust value only if not empty
|
||||
and --with-colons has been given.
|
||||
|
||||
2006-04-05 Werner Koch <wk@g10code.com>
|
||||
|
||||
* getkey.c (user_id_not_found_utf8): New.
|
||||
|
@ -937,10 +937,12 @@ list_node( CTX c, KBNODE node )
|
||||
putchar('\n');
|
||||
if( opt.fingerprint && !any )
|
||||
print_fingerprint( pk, NULL, 0 );
|
||||
if( node->next
|
||||
if( opt.with_colons
|
||||
&& node->next
|
||||
&& node->next->pkt->pkttype == PKT_RING_TRUST ) {
|
||||
printf("rtv:2:%u:\n",
|
||||
node->next->pkt->pkt.ring_trust->trustval );
|
||||
node->next->pkt->pkt.ring_trust?
|
||||
node->next->pkt->pkt.ring_trust->trustval : 0);
|
||||
}
|
||||
any=1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user