mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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>
This commit is contained in:
parent
01ade6945d
commit
f584ad9504
6 changed files with 10 additions and 10 deletions
|
@ -92,7 +92,7 @@ void tpm2d_exit (int rc);
|
|||
|
||||
/*-- command.c --*/
|
||||
gpg_error_t initialize_module_command (void);
|
||||
int tpm2d_command_handler (ctrl_t, int);
|
||||
int tpm2d_command_handler (ctrl_t, gnupg_fd_t);
|
||||
void send_client_notifications (app_t app, int removal);
|
||||
void tpm2d_kick_the_loop (void);
|
||||
int get_active_connection_count (void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue