diff options
-rw-r--r-- | g10/ChangeLog | 7 | ||||
-rw-r--r-- | g10/sig-check.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog index d8713cd50..ab3d3da07 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -1,3 +1,10 @@ +2003-01-14 David Shaw <[email protected]> + + * 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 <[email protected]> * g10.c (add_group): Fixed group parsing to allow more than one diff --git a/g10/sig-check.c b/g10/sig-check.c index 41b4a4c69..a000d69bf 100644 --- a/g10/sig-check.c +++ b/g10/sig-check.c @@ -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; |