diff options
author | David Shaw <[email protected]> | 2003-11-15 22:31:58 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2003-11-15 22:31:58 +0000 |
commit | 995d71258998eb6ed80a08cb5ad8c8bd03f13afb (patch) | |
tree | 486e8ad5b1e39f5c2063d82f5555a395be86f4a8 /g10/export.c | |
parent | * encode.c (encode_simple), sign.c (sign_symencrypt_file): Properly use (diff) | |
download | gnupg-995d71258998eb6ed80a08cb5ad8c8bd03f13afb.tar.gz gnupg-995d71258998eb6ed80a08cb5ad8c8bd03f13afb.zip |
* options.h, g10.c (main), compress.c (init_compress), compress-bz2.c
(init_compress): Add --compress-level and --bzip2-compress-level. -z sets
them both. Change various callers.
Diffstat (limited to 'g10/export.c')
-rw-r--r-- | g10/export.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/export.c b/g10/export.c index 1545fafcd..d98257144 100644 --- a/g10/export.c +++ b/g10/export.c @@ -113,8 +113,8 @@ do_export( STRLIST users, int secret, unsigned int options ) afx.what = secret?5:1; iobuf_push_filter( out, armor_filter, &afx ); } - if( opt.compress_keys && opt.compress ) - push_compress_filter(out,&zfx,opt.def_compress_algo); + if( opt.compress_keys ) + push_compress_filter(out,&zfx,default_compress_algo()); rc = do_export_stream( out, users, secret, NULL, options, &any ); if( rc || !any ) |