gnupg/tpm2d
NIIBE Yutaka 18eff31496 tpm2d: Fix socket resource leak on Windows.
* tpm2d/tpm2daemon.c (main): Use gnupg_fd_t for socket, and use
assuan_sock_close for the socket allocated by assuan_sock_new.
(handle_connections): Use gnupg_fd_t for listen_fd.
Use assuan_sock_close for the socket by npth_accept.

--

Apply the same change of scdaemon to tpm2daemon.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2022-03-30 13:01:14 +09:00
..
Makefile.am tpmd2: Add Support for the Intel TSS 2021-03-11 08:49:45 +01:00
command.c tpmd2: Add copyright blurbs. 2021-03-11 08:33:44 +01:00
ibm-tss.h tpmd2: Add copyright blurbs. 2021-03-11 08:33:44 +01:00
intel-tss.h tpmd2: Add Support for the Intel TSS 2021-03-11 08:49:45 +01:00
tpm2.c tpmd2: Add copyright blurbs. 2021-03-11 08:33:44 +01:00
tpm2.h tpmd2: Add Support for the Intel TSS 2021-03-11 08:49:45 +01:00
tpm2daemon.c tpm2d: Fix socket resource leak on Windows. 2022-03-30 13:01:14 +09:00
tpm2daemon.h tpmd2: Add copyright blurbs. 2021-03-11 08:33:44 +01:00