1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

Revert "kbx,w32: Disable the fd-passing."

This reverts commit 6944aefa3c2ef79cf3f14306ed384d22de36ba7f.

--

The fd-passing works well on Windows with new libassuan (to be 3.0),
and it doesn't require ASSUAN_SOCKET_SERVER_FDPASSING actually.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2023-07-19 13:34:19 +09:00
parent ea1935252e
commit 6524becf28
No known key found for this signature in database
GPG Key ID: 640114AF89DE6054

View File

@ -950,15 +950,9 @@ kbxd_start_command_handler (ctrl_t ctrl, gnupg_fd_t fd, unsigned int session_id)
}
else
{
/* The fd-passing does not work reliable on Windows, and even it
* it is not used by gpg and gpgsm the current libassuan slows
* down things if it is allowed for the server.*/
rc = assuan_init_socket_server (ctx, fd,
(ASSUAN_SOCKET_SERVER_ACCEPTED
#ifndef HAVE_W32_SYSTEM
|ASSUAN_SOCKET_SERVER_FDPASSING
#endif
));
|ASSUAN_SOCKET_SERVER_FDPASSING));
}
if (rc)