mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-08 17:43:04 +01:00
* sig-check.c (check_key_signature2): Properly handle a non-designated
revocation import.
This commit is contained in:
parent
1f71f4c626
commit
1324f0c83a
@ -1,3 +1,8 @@
|
|||||||
|
2002-09-28 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* sig-check.c (check_key_signature2): Properly handle a
|
||||||
|
non-designated revocation import.
|
||||||
|
|
||||||
2002-09-26 Werner Koch <wk@gnupg.org>
|
2002-09-26 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
* g10.c (set_homedir): New. Changed all direct assignments to use
|
* g10.c (set_homedir): New. Changed all direct assignments to use
|
||||||
|
@ -521,8 +521,11 @@ check_key_signature2( KBNODE root, KBNODE node, int *is_selfsig,
|
|||||||
return rc;
|
return rc;
|
||||||
|
|
||||||
if( sig->sig_class == 0x20 ) { /* key revocation */
|
if( sig->sig_class == 0x20 ) { /* key revocation */
|
||||||
/* designated revoker? */
|
u32 keyid[2];
|
||||||
if(pk->keyid[0]!=sig->keyid[0] || pk->keyid[1]!=sig->keyid[1])
|
keyid_from_pk( pk, keyid );
|
||||||
|
|
||||||
|
/* is it a designated revoker? */
|
||||||
|
if(keyid[0]!=sig->keyid[0] || keyid[1]!=sig->keyid[1])
|
||||||
rc=check_revocation_keys(pk,sig);
|
rc=check_revocation_keys(pk,sig);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user