gnupg/g10 (12 files)
cvs user dshaw
cvs at cvs.gnupg.org
Fri Oct 31 06:39:02 CET 2003
Date: Friday, October 31, 2003 @ 06:39:02
Author: dshaw
Path: /cvs/gnupg/gnupg/g10
Added: compress-bz2.c
Modified: ChangeLog Makefile.am compress.c encode.c export.c filter.h
g10.c import.c main.h misc.c sign.c
* 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.
----------------+
ChangeLog | 25 +++++
Makefile.am | 10 +-
compress-bz2.c | 242 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
compress.c | 60 +++++++++++--
encode.c | 6 -
export.c | 4
filter.h | 5 -
g10.c | 3
import.c | 14 +--
main.h | 2
misc.c | 25 +++++
sign.c | 10 --
12 files changed, 366 insertions(+), 40 deletions(-)
More information about the Gnupg-commits
mailing list