mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* encode.c (encode_simple): Intialize PKT when --no-literal is used.
This commit is contained in:
parent
cc6de431ff
commit
9a9ae615ea
2 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
2002-05-29 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* encode.c (encode_simple): Intialize PKT when --no-literal is used.
|
||||
|
||||
* keyedit.c (show_key_with_all_names_colon): Renamed the record
|
||||
for revocation keys to "rvk".
|
||||
|
||||
|
|
|
@ -203,7 +203,11 @@ encode_simple( const char *filename, int mode )
|
|||
cfx.datalen = filesize && !do_compress ? calc_packet_length( &pkt ) : 0;
|
||||
}
|
||||
else
|
||||
cfx.datalen = filesize && !do_compress ? filesize : 0;
|
||||
{
|
||||
cfx.datalen = filesize && !do_compress ? filesize : 0;
|
||||
pkt.pkttype = 0;
|
||||
pkt.pkt.generic = NULL;
|
||||
}
|
||||
|
||||
/* register the cipher filter */
|
||||
if( mode )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue