mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Fix for bug#1201.
This commit is contained in:
parent
3dfa2e6df5
commit
c50f244b20
2 changed files with 5 additions and 1 deletions
|
@ -623,7 +623,8 @@ setup_plaintext_name(const char *filename,IOBUF iobuf)
|
|||
{
|
||||
PKT_plaintext *pt;
|
||||
|
||||
if(filename || opt.set_filename)
|
||||
if ((filename && !iobuf_is_pipe_filename (filename))
|
||||
|| (opt.set_filename && !iobuf_is_pipe_filename (opt.set_filename)))
|
||||
{
|
||||
char *s;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue