diff options
author | Werner Koch <wk@gnupg.org> | 2014-08-12 10:36:30 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2014-08-14 09:55:09 +0200 |
commit | 71b55e91f02cdb65a8884892f71c4c7bf8a75247 (patch) | |
tree | 26b7107471109f9b5de96ee8b2360f95477ba7a0 /g10/sign.c | |
parent | gpg: Add list-option "show-usage". (diff) | |
download | gnupg2-71b55e91f02cdb65a8884892f71c4c7bf8a75247.tar.xz gnupg2-71b55e91f02cdb65a8884892f71c4c7bf8a75247.zip |
gpg: Remove --compress-keys and --compress-sigs feature.
* g10/gpg.c (oCompressKeys, oCompressSigs): Remove.
(opts): Turn --compress-keys and --compress-signs in NOPs.
* g10/options.h (opt): Remove fields compress_keys and compress_sigs.
* g10/export.c (do_export): Remove compress_keys feature.
* g10/sign.c (sign_file): Remove compress_sigs feature.
--
These features are disabled in GnuPG since the very early days and
they fulfill no real purpose. For now we keep the command line
options as dummys.
Diffstat (limited to '')
-rw-r--r-- | g10/sign.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/sign.c b/g10/sign.c index 907d8c517..9aa4da49d 100644 --- a/g10/sign.c +++ b/g10/sign.c @@ -998,7 +998,7 @@ sign_file (ctrl_t ctrl, strlist_t filenames, int detached, strlist_t locusr, iobuf_push_filter( out, encrypt_filter, &efx ); } - if( opt.compress_algo && !outfile && ( !detached || opt.compress_sigs) ) + if (opt.compress_algo && !outfile && !detached) { int compr_algo=opt.compress_algo; |