gpg: Make --decrypt with output '-&nnnn' work.
authorWerner Koch <wk@gnupg.org>
Tue, 29 Nov 2016 15:42:14 +0000 (16:42 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 29 Nov 2016 15:54:36 +0000 (16:54 +0100)
commita5910e00ace882b8a17169faf4607163ab454af9
treec06918f086764efc6386f6c88dd3fc6c2caa8f96
parent60b4982836a00ef6b2a97d16f735b3f6b74dce62
gpg: Make --decrypt with output '-&nnnn' work.

* g10/plaintext.c (get_output_file): Check and open special filename
before falling back to stdout.
--

GnuPG-bug-id: 2677
Signed-off-by: Werner Koch <wk@gnupg.org>
g10/plaintext.c