From 5d991e333a1885adc40abd9d00c01fec4bd5d9d7 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 27 May 2016 15:41:55 +0200 Subject: common: Extend gnupg_create_inbound_pipe et al. * common/exechelp-posix.c (gnupg_create_inbound_pipe): Add args 'r_fp' and 'nonblock'. (gnupg_create_outbound_pipe): Ditto. * common/exechelp-w32.c (gnupg_create_inbound_pipe): Add non yet functional args 'r_fp' and 'nonblock'. (gnupg_create_outbound_pipe): Ditto. * common/exechelp-w32ce.c (gnupg_create_inbound_pipe): Ditto. (gnupg_create_outbound_pipe): Ditto. -- Signed-off-by: Werner Koch --- common/call-gpg.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'common/call-gpg.c') diff --git a/common/call-gpg.c b/common/call-gpg.c index f5a62ecbd..0bda1d391 100644 --- a/common/call-gpg.c +++ b/common/call-gpg.c @@ -430,9 +430,9 @@ _gpg_encrypt (ctrl_t ctrl, assert ((reader_mb == NULL) != (cipher_stream == NULL)); /* Create two pipes. */ - err = gnupg_create_outbound_pipe (outbound_fds); + err = gnupg_create_outbound_pipe (outbound_fds, NULL, 0); if (!err) - err = gnupg_create_inbound_pipe (inbound_fds); + err = gnupg_create_inbound_pipe (inbound_fds, NULL, 0); if (err) { log_error (_("error creating a pipe: %s\n"), gpg_strerror (err)); @@ -614,9 +614,9 @@ _gpg_decrypt (ctrl_t ctrl, assert ((reader_mb == NULL) != (plain_stream == NULL)); /* Create two pipes. */ - err = gnupg_create_outbound_pipe (outbound_fds); + err = gnupg_create_outbound_pipe (outbound_fds, NULL, 0); if (!err) - err = gnupg_create_inbound_pipe (inbound_fds); + err = gnupg_create_inbound_pipe (inbound_fds, NULL, 0); if (err) { log_error (_("error creating a pipe: %s\n"), gpg_strerror (err)); -- cgit v1.2.3