diff options
author | David Shaw <dshaw@jabberwocky.com> | 2003-01-16 20:20:10 +0100 |
---|---|---|
committer | David Shaw <dshaw@jabberwocky.com> | 2003-01-16 20:20:10 +0100 |
commit | 8220f3fd4d0e09a3d381886c610b56240ca848b8 (patch) | |
tree | f3ff3d8e28be2006a9e3d25f365af618adf06ae2 /g10/sig-check.c | |
parent | * trustdb.c (init_trustdb, get_validity): Don't use a changed trust model (diff) | |
download | gnupg2-8220f3fd4d0e09a3d381886c610b56240ca848b8.tar.xz gnupg2-8220f3fd4d0e09a3d381886c610b56240ca848b8.zip |
* g10.c (add_group): Trim whitespace after a group name so it does not
matter where the user puts the = sign.
* options.skel: Comment out the first three lines in case someone manually
copies the skel file to their homedir.
* sign.c (clearsign_file): Only use pgp2mode with v3 keys and MD5. This
matches what we do when decoding such messages and prevents creating a
message (v3+RIPEMD/160) that we can't verify.
* 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.
Diffstat (limited to 'g10/sig-check.c')
-rw-r--r-- | g10/sig-check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/sig-check.c b/g10/sig-check.c index 6468cf9ea..e878c4252 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; |