mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* 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.
This commit is contained in:
parent
c47ec46526
commit
3257edd4e4
3 changed files with 10 additions and 3 deletions
|
@ -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)*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue