mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-23 10:29:58 +01:00
Fix for bug#1201.
This commit is contained in:
parent
3dfa2e6df5
commit
c50f244b20
@ -1,5 +1,8 @@
|
||||
2010-03-12 Werner Koch <wk@g10code.com>
|
||||
|
||||
* plaintext.c (setup_plaintext_name): Do not encode pipe like
|
||||
filenames. This helps with bug#1201.
|
||||
|
||||
* seckey-cert.c (do_check): Return GPG_ERR_CANCELED.
|
||||
* keyedit.c (change_passphrase): Add arg R_ERR.
|
||||
(keyedit_passwd): Return the correct error or emit a success
|
||||
|
@ -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…
x
Reference in New Issue
Block a user