From 8402815d8e0e04a44362968f88b3d484d2395402 Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Thu, 13 Aug 2015 16:09:15 +0200 Subject: common/iobuf.h: Remove iobuf_open_fd_or_name. * common/iobuf.h (iobuf_open_fd_or_name): Remove prototype. Replace use with either iobuf_open or iobuf_fdopen_nc, as appropriate. * common/iobuf.c (iobuf_open): Remove function. -- Signed-off-by: Neal H. Walfield . --- g10/decrypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g10/decrypt.c') diff --git a/g10/decrypt.c b/g10/decrypt.c index fe6fd6389..068b64aed 100644 --- 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); -- cgit v1.2.3