Home GnuPG

w32: Fix the semantics of sending FD, it's Windows HANDLE.

Description

w32: Fix the semantics of sending FD, it's Windows HANDLE.

* src/assuan-handler.c (w32_handler_sendfd): It's Windows HANDLE.
* src/system-w32.c (get_file_handle, w32_fdpass_send): Likewise.
* tests/fdpassing.c (cmd_echo): Received FD is Windows HANDLE.
(client): Use Windows HANDLE for assuan_sendfd.
  • GnuPG-bug-id: T6236
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>