diff options
author | Ingo Klöcker <[email protected]> | 2023-01-19 09:29:56 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2023-01-19 09:29:56 +0000 |
commit | aa201b0bb63d703a3794826fac2e2013fb0c34e7 (patch) | |
tree | d01832c8dfaa0efa0e4b8b0c042789c376c032f9 | |
parent | core: Support usage of gpgtar for encryption (diff) | |
download | gpgme-aa201b0bb63d703a3794826fac2e2013fb0c34e7.tar.gz gpgme-aa201b0bb63d703a3794826fac2e2013fb0c34e7.zip |
core: Fix --set-filename argument
* src/engine-gpg.c (gpg_encrypt): Append equal sign to argument name.
--
GnuPG-bug-id: 6342
-rw-r--r-- | src/engine-gpg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine-gpg.c b/src/engine-gpg.c index a681a220..a15975d7 100644 --- a/src/engine-gpg.c +++ b/src/engine-gpg.c @@ -2381,7 +2381,7 @@ gpg_encrypt (void *engine, gpgme_key_t recp[], const char *recpstring, if (gpgme_data_get_file_name (plain)) { if (!err) - err = add_gpg_arg_with_value (gpg, "--set-filename", gpgme_data_get_file_name (plain), 0); + err = add_gpg_arg_with_value (gpg, "--set-filename=", gpgme_data_get_file_name (plain), 0); } if (gpg->flags.use_gpgtar) { |