mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* trustdb.h, trustdb.c (clean_sigs_from_uid): Add flag to remove all
non-selfsigs from key during cleaning. Change all callers. * export.c (do_export_stream): Use it here so we don't need additional minimize code in the export path.
This commit is contained in:
parent
11c7699c45
commit
debc169f88
6 changed files with 27 additions and 24 deletions
|
@ -674,7 +674,7 @@ clean_sigs_from_all_uids(KBNODE keyblock)
|
|||
|
||||
for(uidnode=keyblock->next;uidnode;uidnode=uidnode->next)
|
||||
if(uidnode->pkt->pkttype==PKT_USER_ID)
|
||||
deleted+=clean_sigs_from_uid(keyblock,uidnode,opt.verbose);
|
||||
deleted+=clean_sigs_from_uid(keyblock,uidnode,opt.verbose,0);
|
||||
|
||||
return deleted;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue