aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/http.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2022-03-30 03:52:20 +0000
committerNIIBE Yutaka <[email protected]>2022-03-30 04:01:14 +0000
commit18eff31496a34156d58d757a2a110bcfde6c9908 (patch)
tree87ed275a89c888c4c66fca5e7bcc445a8307e7f4 /dirmngr/http.c
parentcommon,w32: Fix handle_to_fd to match use of _open_osfhandle. (diff)
downloadgnupg-18eff31496a34156d58d757a2a110bcfde6c9908.tar.gz
gnupg-18eff31496a34156d58d757a2a110bcfde6c9908.zip
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 <[email protected]>
Diffstat (limited to 'dirmngr/http.c')
0 files changed, 0 insertions, 0 deletions