diff options
Diffstat (limited to '')
-rw-r--r-- | g10/keyedit.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/g10/keyedit.c b/g10/keyedit.c index 043cdba5e..d9506d721 100644 --- a/g10/keyedit.c +++ b/g10/keyedit.c @@ -2129,8 +2129,6 @@ show_key_with_all_names( KBNODE keyblock, int only_marked, int with_revoker, } } - assert(primary); - /* the user ids */ i = 0; for( node = keyblock; node; node = node->next ) { @@ -2138,7 +2136,7 @@ show_key_with_all_names( KBNODE keyblock, int only_marked, int with_revoker, PKT_user_id *uid = node->pkt->pkt.user_id; ++i; if( !only_marked || (only_marked && (node->flag & NODFLG_MARK_A))){ - if(opt.list_options&LIST_SHOW_VALIDITY) + if(opt.list_options&LIST_SHOW_VALIDITY && primary) tty_printf("[%8.8s] ", trust_value_to_string(get_validity(primary,uid))); if( only_marked ) |