mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-23 10:29:58 +01:00
* 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.
This commit is contained in:
parent
3c90faa761
commit
9f65d8673e
@ -1,3 +1,9 @@
|
|||||||
|
2003-01-15 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2003-01-14 David Shaw <dshaw@jabberwocky.com>
|
2003-01-14 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* sig-check.c (signature_check2): Use G10ERR_GENERAL as the error
|
* sig-check.c (signature_check2): Use G10ERR_GENERAL as the error
|
||||||
|
@ -949,8 +949,8 @@ clearsign_file( const char *fname, STRLIST locusr, const char *outfile )
|
|||||||
}
|
}
|
||||||
if ( DBG_HASHING )
|
if ( DBG_HASHING )
|
||||||
md_start_debug( textmd, "clearsign" );
|
md_start_debug( textmd, "clearsign" );
|
||||||
copy_clearsig_text( out, inp, textmd,
|
copy_clearsig_text( out, inp, textmd, !opt.not_dash_escaped,
|
||||||
!opt.not_dash_escaped, opt.escape_from, old_style );
|
opt.escape_from, (old_style && only_md5) );
|
||||||
/* fixme: check for read errors */
|
/* fixme: check for read errors */
|
||||||
|
|
||||||
/* now write the armor */
|
/* now write the armor */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user