1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-14 21:47:19 +02:00
This commit is contained in:
Werner Koch 2009-08-03 17:47:18 +00:00
parent 3f95e31e5d
commit b8805ca724
8 changed files with 142 additions and 23 deletions

View file

@ -318,6 +318,12 @@ do_check( PKT_public_key *pk, PKT_signature *sig, MD_HANDLE digest,
mpi_free(result);
}
/* Print the MD5 warning if not yet done. Thus at most we get one
warning during signature checking. Note that while validating
a key we might have already checked MD5 key signatures. */
if (sig->digest_algo == DIGEST_ALGO_MD5)
md5_digest_warn (0);
if( !rc && sig->flags.unknown_critical )
{
log_info(_("assuming bad signature from key %s"