Home GnuPG
Diffusion GnuPG f584ad950482

scd,tpm2d: Fix for consistent use of socket FD.

Description

scd,tpm2d: Fix for consistent use of socket FD.

* scd/command.c (scd_command_handler): Use gnupg_fd_t for the argument
but no INT2FD to listen.  Use GNUPG_INVALID_FD.
* tpm2d/command.c (tpm2d_command_handler): Likewise.
* scd/scdaemon.c (start_connection_thread): Follow the change.
* tpm2d/tpm2daemon.c (start_connection_thread): Likewise.
* scd/scdaemon.h (scd_command_handler): Use gnupg_fd_t.
* tpm2d/tpm2daemon.h (tpm2d_command_handler): Likewise.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Mar 31 2022, 2:03 PM
Parents
rG01ade6945d6c: dirmngr: Fix for SOCK.
Branches
Unknown
Tags
Unknown