mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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 <gniibe@fsij.org>
This commit is contained in:
parent
68d3a73ea7
commit
2c2516f03a
6 changed files with 22 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue