core: Fix --set-filename argument
* src/engine-gpg.c (gpg_encrypt): Append equal sign to argument name. -- GnuPG-bug-id: 6342
This commit is contained in:
parent
5d8316da1d
commit
aa201b0bb6
@ -2381,7 +2381,7 @@ gpg_encrypt (void *engine, gpgme_key_t recp[], const char *recpstring,
|
|||||||
if (gpgme_data_get_file_name (plain))
|
if (gpgme_data_get_file_name (plain))
|
||||||
{
|
{
|
||||||
if (!err)
|
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)
|
if (gpg->flags.use_gpgtar)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user