diff options
author | Werner Koch <wk@gnupg.org> | 2002-08-30 18:34:13 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2002-08-30 18:34:13 +0200 |
commit | 5dfd5a6dac4d1e5fa5857f68f79dfea7f77bf526 (patch) | |
tree | 63791e9a52eddbadff543c0bb6704e5e09b51cf7 /g10/filter.h | |
parent | * random.c: Automagically detect the entrop gatherer when (diff) | |
download | gnupg2-5dfd5a6dac4d1e5fa5857f68f79dfea7f77bf526.tar.xz gnupg2-5dfd5a6dac4d1e5fa5857f68f79dfea7f77bf526.zip |
* pkclist.c (do_we_trust_pre): Changed the wording of a warning.
* encode.c (encode_simple,encode_crypt): Use new style CTB for
compressssed packets when using MDC. We need to do this so that
concatenated messages are properly decrypted. Old style
compression assumes that it is the last packet; given that we
can't determine the length in advance, the uncompressor does not
know where to start. Actually we should use the new CTB always
but this would break PGP 2 compatibility.
* parse-packet.c (parse): Special treatment for new style CTB
compressed packets.
* build-packet.c (do_mdc): Removed. Was not used.
(do_encrypted_mdc): Count the version number and the MDC packet.
Diffstat (limited to 'g10/filter.h')
-rw-r--r-- | g10/filter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/filter.h b/g10/filter.h index b7a99e6bc..c933d2383 100644 --- a/g10/filter.h +++ b/g10/filter.h @@ -77,6 +77,7 @@ struct compress_filter_context_s { unsigned outbufsize; int algo; /* compress algo */ int algo1hack; + int new_ctb; void (*release)(struct compress_filter_context_s*); }; typedef struct compress_filter_context_s compress_filter_context_t; |