mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-10 13:04:23 +01:00
* sig-check.c (signature_check2): Use G10ERR_GENERAL as the error for
signature digest conflict. BAD_SIGN implies that a signature was checked and we may try and print out a user ID for a key that doesn't exist.
This commit is contained in:
parent
631eed9c64
commit
3c90faa761
@ -1,3 +1,10 @@
|
||||
2003-01-14 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* sig-check.c (signature_check2): Use G10ERR_GENERAL as the error
|
||||
for signature digest conflict. BAD_SIGN implies that a signature
|
||||
was checked and we may try and print out a user ID for a key that
|
||||
doesn't exist.
|
||||
|
||||
2003-01-14 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* g10.c (add_group): Fixed group parsing to allow more than one
|
||||
|
@ -71,7 +71,7 @@ signature_check2( PKT_signature *sig, MD_HANDLE digest,
|
||||
|
||||
if(!md_algo_present(digest,sig->digest_algo)) {
|
||||
log_info(_("WARNING: signature digest conflict in message\n"));
|
||||
rc=G10ERR_BAD_SIGN;
|
||||
rc=G10ERR_GENERAL;
|
||||
}
|
||||
else if( get_pubkey( pk, sig->keyid ) )
|
||||
rc = G10ERR_NO_PUBKEY;
|
||||
|
Loading…
x
Reference in New Issue
Block a user