diff options
author | Werner Koch <[email protected]> | 2019-05-17 11:40:24 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2019-05-17 11:42:42 +0000 |
commit | 1702179d91b7136661af084d7dab2e50a2857491 (patch) | |
tree | ce7005d742e89ce779e14b6207b82b194122a13b /dirmngr/server.c | |
parent | gpg: Improve the photo image viewer selection. (diff) | |
download | gnupg-1702179d91b7136661af084d7dab2e50a2857491.tar.gz gnupg-1702179d91b7136661af084d7dab2e50a2857491.zip |
gpg: Fix using --decrypt along with --use-embedded-filename.
* g10/options.h (opt): Add flags.dummy_outfile.
* g10/decrypt.c (decrypt_message): Set this global flag instead of the
fucntion local flag.
* g10/plaintext.c (get_output_file): Ignore opt.output if that was
used as a dummy option aslong with --use-embedded-filename.
--
The problem here was that an explicit specified --decrypt, as
meanwhile suggested, did not work with that dangerous
--use-embedded-filename. In contrast it worked when gpg decrypted as
a side-effect of parsing the data.
GnuPG-bug-id: 4500
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/server.c')
0 files changed, 0 insertions, 0 deletions