mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Fixed segv
This commit is contained in:
parent
e5a03c84f7
commit
4fdc6387c3
2 changed files with 9 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue