Home GnuPG
Diffusion GnuPG 869c6bb7e455

* misc.c (compress_algo_to_string, string_to_compress_algo,
869c6bb7e455Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

(no title)

* misc.c (compress_algo_to_string, string_to_compress_algo,
check_compress_algo): Add bzip2.
* compress.c (compress_filter): Make static to help force the use of
push_compress_filter.  Remove default algorithm setting since that is done
in push_compress_filter now.
* main.h: Use named algorithm.
* filter.h, compress.c (push_compress_filter, push_compress_filter2): New.
Figure out which is the appropriate compression filter to use, and push it
into place.
* compress.c (handle_compressed), encode.c (encode_simple, encode_crypt),
sign.c (sign_file, sign_symencrypt_file), import.c (read_block), export.c
(do_export): Use push_compress_filter instead of pushing the compression
filter ourselves.
* compress-bz2.c: New.  Bzlib versions of the compression filter routines.
* Makefile.am: Include compress-bz2.c if bz2lib is available.

Details

Provenance
dshawAuthored on Oct 31 2003, 6:39 AM
Parents
rG8d82e1af00af: * cipher.h: Add COMPRESS_ALGO_BZIP2.
Branches
Unknown
Tags
Unknown

Event Timeline

David Shaw <dshaw@jabberwocky.com> committed rG869c6bb7e455: * misc.c (compress_algo_to_string, string_to_compress_algo, (authored by David Shaw <dshaw@jabberwocky.com>).Oct 31 2003, 6:39 AM