mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
xxx
This commit is contained in:
parent
08fc68a715
commit
45f1328259
@ -1,3 +1,7 @@
|
|||||||
|
Thu Apr 30 16:33:34 1998 Werner Koch (wk@isil.d.shuttle.de)
|
||||||
|
|
||||||
|
* sign.c (clearsign_file): Fixed "Hash: " armor line.
|
||||||
|
|
||||||
Tue Apr 28 14:27:42 1998 Werner Koch (wk@isil.d.shuttle.de)
|
Tue Apr 28 14:27:42 1998 Werner Koch (wk@isil.d.shuttle.de)
|
||||||
|
|
||||||
* parse-packet.c (parse_subpkt): Some new types.
|
* parse-packet.c (parse_subpkt): Some new types.
|
||||||
|
12
g10/sign.c
12
g10/sign.c
@ -400,8 +400,16 @@ clearsign_file( const char *fname, STRLIST locusr, const char *outfile )
|
|||||||
goto leave;
|
goto leave;
|
||||||
}
|
}
|
||||||
|
|
||||||
iobuf_writestr(out, "-----BEGIN PGP SIGNED MESSAGE-----\n"
|
iobuf_writestr(out, "-----BEGIN PGP SIGNED MESSAGE-----\n" );
|
||||||
"Hash: RIPEMD160\n\n" );
|
if( opt.def_digest_algo == DIGEST_ALGO_MD5 )
|
||||||
|
iobuf_writestr(out, "\n" );
|
||||||
|
else {
|
||||||
|
const char *s = digest_algo_to_string(opt.def_digest_algo);
|
||||||
|
assert(s);
|
||||||
|
iobuf_writestr(out, s );
|
||||||
|
iobuf_writestr(out, "\n\n" );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
textmd = md_open(opt.def_digest_algo, 0);
|
textmd = md_open(opt.def_digest_algo, 0);
|
||||||
iobuf_push_filter( inp, text_filter, &tfx );
|
iobuf_push_filter( inp, text_filter, &tfx );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user