1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-01 16:33:02 +01:00

* sig-check.c (check_key_signature2): Properly handle a non-designated

revocation import.
This commit is contained in:
David Shaw 2002-09-28 17:34:43 +00:00
parent 1f71f4c626
commit 1324f0c83a
2 changed files with 10 additions and 2 deletions

View File

@ -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>
* g10.c (set_homedir): New. Changed all direct assignments to use

View File

@ -521,8 +521,11 @@ check_key_signature2( KBNODE root, KBNODE node, int *is_selfsig,
return rc;
if( sig->sig_class == 0x20 ) { /* key revocation */
/* designated revoker? */
if(pk->keyid[0]!=sig->keyid[0] || pk->keyid[1]!=sig->keyid[1])
u32 keyid[2];
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);
else
{