mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-31 16:23:02 +01:00
* getkey.c (merge_selfsigs_main): All primary keys can certify.
This commit is contained in:
parent
5432755319
commit
64fa7ea37e
@ -1,3 +1,7 @@
|
||||
2005-12-19 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* getkey.c (merge_selfsigs_main): All primary keys can certify.
|
||||
|
||||
2005-12-18 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* gpg.c (main): Restore convert-sk-to-pk as programs rely on it.
|
||||
|
@ -1812,7 +1812,9 @@ merge_selfsigs_main(KBNODE keyblock, int *r_revoked, struct revoke_info *rinfo)
|
||||
if ( x ) /* mask it down to the actual allowed usage */
|
||||
key_usage &= x;
|
||||
}
|
||||
pk->pubkey_usage = key_usage;
|
||||
|
||||
/* Whatever happens, it's a primary key, so it can certify. */
|
||||
pk->pubkey_usage = key_usage|PUBKEY_USAGE_CERT;
|
||||
|
||||
if ( !key_expire_seen ) {
|
||||
/* find the latest valid user ID with a key expiration set
|
||||
|
Loading…
x
Reference in New Issue
Block a user