diff options
author | NIIBE Yutaka <[email protected]> | 2023-07-05 00:57:10 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2023-07-05 01:05:31 +0000 |
commit | 2c2516f03a28156d58b8da4c05f716095eab8957 (patch) | |
tree | 934620247446c830496393ac3650730cf3c6f58a /common/iobuf.h | |
parent | gpg: Use gnupg_fd_t for open_outfile. (diff) | |
download | gnupg-2c2516f03a28156d58b8da4c05f716095eab8957.tar.gz gnupg-2c2516f03a28156d58b8da4c05f716095eab8957.zip |
gpg: Use gnupg_fd_t for encrypt_crypt and gpg_verify.
* common/iobuf.h (iobuf_fdopen_nc): Use gnupg_t.
* common/iobuf.c (iobuf_fdopen_nc): Use gnupg_t.
* g10/main.h (encrypt_crypt, gpg_verify): Use gnupg_fd_t.
* g10/encrypt.c (encrypt_crypt): Use gnupg_fd_t.
(encrypt_crypt_files): Follow the change.
* g10/gpg.c (main): Follow the change.
* g10/verify.c (gpg_verify): Use gnupg_fd_t.
--
GnuPG-bug-id: 6580
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common/iobuf.h')
-rw-r--r-- | common/iobuf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/iobuf.h b/common/iobuf.h index 04e6b4421..c523b8c96 100644 --- a/common/iobuf.h +++ b/common/iobuf.h @@ -337,7 +337,7 @@ iobuf_t iobuf_fdopen (int fd, const char *mode); /* Like iobuf_fdopen, but doesn't close the file descriptor when the filter is destroyed. */ -iobuf_t iobuf_fdopen_nc (int fd, const char *mode); +iobuf_t iobuf_fdopen_nc (gnupg_fd_t fd, const char *mode); /* Create a filter using an existing estream. If MODE contains the letter 'w', creates an output filter. Otherwise, creates an input |