projects
/
platform
/
upstream
/
gpg2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 2.1.8
[platform/upstream/gpg2.git]
/
g10
/
decrypt.c
diff --git
a/g10/decrypt.c
b/g10/decrypt.c
index
fe6fd63
..
068b64a
100644
(file)
--- a/
g10/decrypt.c
+++ b/
g10/decrypt.c
@@
-120,7
+120,7
@@
decrypt_message_fd (ctrl_t ctrl, int input_fd, int output_fd)
pfx = new_progress_context ();
/* Open the message file. */
- fp = iobuf_
open_fd_or_name (input_fd, NULL
, "rb");
+ fp = iobuf_
fdopen_nc (FD2INT(input_fd)
, "rb");
if (fp && is_secured_file (iobuf_get_fd (fp)))
{
iobuf_close (fp);