aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2025-03-05 14:31:50 +0000
committerWerner Koch <[email protected]>2025-03-05 14:32:31 +0000
commit73f6c2dd4d3e5b58faf69821726988ae984fad89 (patch)
treef4a985d55a988e96c40a8a6eed4ab3e9c41ad12e /agent/command.c
parentLog the Windows system error code at more places. (diff)
downloadgnupg-73f6c2dd4d3e5b58faf69821726988ae984fad89.tar.gz
gnupg-73f6c2dd4d3e5b58faf69821726988ae984fad89.zip
w32: On socket nonce mismatch close the socket.
* agent/gpg-agent.c (start_connection_thread_std): Close socket on nonce mismatch. (start_connection_thread_extra): Ditto. (start_connection_thread_browser): Ditto. (start_connection_thread_ssh): Ditto. * dirmngr/dirmngr.c (start_connection_thread): Ditto. * kbx/keyboxd.c (start_connection_thread): Ditto. -- Usually Libassuan takes care of closing the socket but because we do the nonce check before setting up Assuan we need to explicit close it. GnuPG-bug-id: 7434
Diffstat (limited to 'agent/command.c')
-rw-r--r--agent/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/command.c b/agent/command.c
index ebfffa624..b61ab9354 100644
--- a/agent/command.c
+++ b/agent/command.c
@@ -4396,7 +4396,7 @@ register_commands (assuan_context_t ctx)
/* Startup the server. If LISTEN_FD and FD is given as -1, this is a
- simple piper server, otherwise it is a regular server. CTRL is the
+ simple pipe server, otherwise it is a regular server. CTRL is the
control structure for this connection; it has only the basic
initialization. */
void