mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* getkey.c (merge_selfsigs): If a subkey is already revoked by the owner,
don't allow a designated revokation of the whole key to override this. We're still revoked either way, of course.
This commit is contained in:
parent
335d393062
commit
7690350b7a
2 changed files with 7 additions and 1 deletions
|
@ -1972,7 +1972,7 @@ merge_selfsigs( KBNODE keyblock )
|
|||
PKT_public_key *pk = k->pkt->pkt.public_key;
|
||||
if(!main_pk->is_valid)
|
||||
pk->is_valid = 0;
|
||||
if(revoked)
|
||||
if(revoked && !pk->is_revoked)
|
||||
pk->is_revoked = revoked;
|
||||
if(main_pk->has_expired)
|
||||
pk->has_expired = main_pk->has_expired;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue