mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Fix for bug 1223
This commit is contained in:
parent
d766978c0e
commit
64d47185f7
2 changed files with 16 additions and 0 deletions
13
g10/import.c
13
g10/import.c
|
@ -1431,6 +1431,19 @@ chk_self_sigs( const char *fname, KBNODE keyblock,
|
|||
unode->flag |= 1; /* Mark that signature checked. */
|
||||
}
|
||||
}
|
||||
else if (IS_KEY_SIG (sig))
|
||||
{
|
||||
rc = check_key_signature (keyblock, n, NULL);
|
||||
if ( rc )
|
||||
{
|
||||
if (opt.verbose)
|
||||
log_info (gpg_err_code (rc) == G10ERR_PUBKEY_ALGO ?
|
||||
_("key %s: unsupported public key algorithm\n"):
|
||||
_("key %s: invalid direct key signature\n"),
|
||||
keystr (keyid));
|
||||
n->flag |= 4;
|
||||
}
|
||||
}
|
||||
else if ( IS_SUBKEY_SIG (sig) )
|
||||
{
|
||||
/* Note that this works based solely on the timestamps like
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue