aboutsummaryrefslogtreecommitdiffstats
path: root/g10/sign.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-11-15 15:38:43 +0000
committerDavid Shaw <[email protected]>2003-11-15 15:38:43 +0000
commit3257edd4e47727bf8660dba3f8031fc17395c9ea (patch)
tree02bfd8ffd9cd937e05e173c1b200a750c7de5809 /g10/sign.c
parent* options.h, trustdb.c (trust_model_string, init_trustdb): Add support for (diff)
downloadgnupg-3257edd4e47727bf8660dba3f8031fc17395c9ea.tar.gz
gnupg-3257edd4e47727bf8660dba3f8031fc17395c9ea.zip
* encode.c (encode_simple), sign.c (sign_symencrypt_file): Properly use
default_compress_algo (--compress-algo, followed by the highest --personal-compress-preference, followed by ZIP) to get the algorithm.
Diffstat (limited to 'g10/sign.c')
-rw-r--r--g10/sign.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/sign.c b/g10/sign.c
index e595ce9b1..17c1d2614 100644
--- a/g10/sign.c
+++ b/g10/sign.c
@@ -1182,7 +1182,7 @@ sign_symencrypt_file (const char *fname, STRLIST locusr)
/* Push the Zip filter */
if (opt.compress && default_compress_algo())
- push_compress_filter(out,&zfx,opt.def_compress_algo);
+ push_compress_filter(out,&zfx,default_compress_algo());
/* Write the one-pass signature packets */
/*(current filters: zip - encrypt - armor)*/