STABLE-BRANCH-1-2 gnupg/g10 (12 files)
cvs user dshaw
cvs at cvs.gnupg.org
Fri Oct 31 05:57:17 CET 2003
Date: Friday, October 31, 2003 @ 05:57:17
Author: dshaw
Path: /cvs/gnupg/gnupg/g10
Tag: STABLE-BRANCH-1-2
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, check_compress_algo): Add bzip2.
* g10.c (main): Add read-only warning.
* 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 | 27 ++++++
Makefile.am | 7 +
compress-bz2.c | 242 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
compress.c | 59 +++++++++++--
encode.c | 8 -
export.c | 2
filter.h | 5 -
g10.c | 5 +
import.c | 14 +--
main.h | 2
misc.c | 17 +++
sign.c | 19 ----
12 files changed, 360 insertions(+), 47 deletions(-)
More information about the Gnupg-commits
mailing list