1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-26 20:31:06 +01:00

* keyedit.c (sign_uids): Nonrevocable key signatures cause an automatic

promotion to v4.
This commit is contained in:
David Shaw 2002-05-03 22:31:30 +00:00
parent 154c4c3000
commit 201ad25df9
2 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2002-05-03 David Shaw <dshaw@jabberwocky.com>
* keyedit.c (sign_uids): Nonrevocable key signatures cause an
automatic promotion to v4.
* exec.c: Provide stubs for exec_ functions when NO_EXEC is
defined.

View File

@ -283,9 +283,12 @@ sign_uids( KBNODE keyblock, STRLIST locusr, int *ret_modified,
for(node=keyblock;node;node=node->next)
if(node->pkt->pkttype==PKT_SIGNATURE &&
node->pkt->pkt.signature->version>3)
all_v3=0;
{
all_v3=0;
break;
}
if(local || opt.cert_policy_url || opt.cert_notation_data)
if(local || nonrevocable || opt.cert_policy_url || opt.cert_notation_data)
force_v4=1;
/* build a list of all signators.