Home GnuPG
Diffusion GnuPG ee9e3578ce30

gpg: Use gnupg_fd_t for iobuf_get_fd and is_secured_file.

Description

gpg: Use gnupg_fd_t for iobuf_get_fd and is_secured_file.

* common/iobuf.c (iobuf_get_fd): Return type is now gnupg_fd_t.
* common/iobuf.h (iobuf_get_fd): Fix the return type.
* g10/misc.c (is_secured_file): Argument is now gnupg_fd_t.
* g10/main.h (is_secured_file): Fix the argument type.
  • GnuPG-bug-id: T6580
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jul 14 2023, 8:52 AM
Parents
rG5d375bb16825: gpg: Use is_secured_filename before opening the file.
Branches
Unknown
Tags
Unknown
Tasks
T6580: Use gnupg_fd_t if it's relevant