1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-06-12 18:11:03 +02:00

agent: Allow building under Cygwin.

* agent/command-ssh.c (start_command_handler_ssh): Firther protect the
SOCKET cast.
--

Note that Cygwin is not supported, YMMV.
GnuPG-bug-id: 7667
This commit is contained in:
Werner Koch 2025-05-27 11:14:37 +02:00
parent 0c7e7ec0c8
commit 1587b387c0
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -3958,7 +3958,7 @@ start_command_handler_ssh (ctrl_t ctrl, gnupg_fd_t sock_client)
es_syshd_t syshd;
syshd.type = ES_SYSHD_SOCK;
#ifdef HAVE_SOCKET
#if defined(HAVE_SOCKET) && defined(HAVE_W32_SYSTEM)
syshd.u.sock = (SOCKET)sock_client;
#else
syshd.u.sock = sock_client;