Home GnuPG
Diffusion GnuPG 68d3a73ea787

gpg: Use gnupg_fd_t for open_outfile.

Description

gpg: Use gnupg_fd_t for open_outfile.

* g10/main.h (open_outfile): Use gnupg_fd_t instead of int.
* g10/openfile.c (open_outfile): Likewise.  Use GNUPG_INVALID_FD.
* g10/dearmor.c (dearmor_file, enarmor_file): Follow the change.
* g10/encrypt.c (encrypt_simple): Likewise.
* g10/export.c (do_export): Likewise.
* g10/revoke.c (gen_desig_revoke, create_revocation): Likewise.
* g10/sign.c (sign_file, clearsign_file, sign_symencrypt_file):
Likewise.
  • GnuPG-bug-id: T6580
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jul 5 2023, 2:36 AM
Parents
rGdc13361524c1: dirmngr: Enable the call of ks_ldap_help_variables when USE_LDAP.
Branches
Unknown
Tags
Unknown
Tasks
T6580: Use gnupg_fd_t if it's relevant