1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-01 16:33:02 +01:00

See ChangeLog: Thu Apr 29 12:29:22 CEST 1999 Werner Koch

This commit is contained in:
Werner Koch 1999-04-29 10:32:29 +00:00
parent dbb6174399
commit 88374b2ab3
2 changed files with 18 additions and 3 deletions

View File

@ -1,3 +1,9 @@
Thu Apr 29 12:29:22 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
* sign.c (sign_file): Fixed hashing in case of no subpackets.
(clearsign_file): Ditto.
(make_keysig_packet): Ditto.
Wed Apr 28 13:03:03 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
* keyedit.c (keyedit_menu): Add new command revkey.

View File

@ -411,8 +411,11 @@ sign_file( STRLIST filenames, int detached, STRLIST locusr,
md_write( md, sig->hashed_data, n+2 );
n += 6;
}
else
else {
md_putc( md, 0 ); /* always hash the length of the subpacket*/
md_putc( md, 0 );
n = 6;
}
/* add some magic */
buf[0] = sig->version;
buf[1] = 0xff;
@ -594,8 +597,11 @@ clearsign_file( const char *fname, STRLIST locusr, const char *outfile )
md_write( md, sig->hashed_data, n+2 );
n += 6;
}
else
else {
md_putc( md, 0 ); /* always hash the length of the subpacket*/
md_putc( md, 0 );
n = 6;
}
/* add some magic */
buf[0] = sig->version;
buf[1] = 0xff;
@ -721,8 +727,11 @@ make_keysig_packet( PKT_signature **ret_sig, PKT_public_key *pk,
md_write( md, sig->hashed_data, n+2 );
n += 6;
}
else
else {
md_putc( md, 0 ); /* always hash the length of the subpacket*/
md_putc( md, 0 );
n = 6;
}
/* add some magic */
buf[0] = sig->version;
buf[1] = 0xff;