From aa201b0bb63d703a3794826fac2e2013fb0c34e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Thu, 19 Jan 2023 10:29:56 +0100 Subject: [PATCH] core: Fix --set-filename argument * src/engine-gpg.c (gpg_encrypt): Append equal sign to argument name. -- GnuPG-bug-id: 6342 --- src/engine-gpg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {