diff options
author | Werner Koch <[email protected]> | 2025-05-14 08:34:46 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2025-05-16 12:26:45 +0000 |
commit | 645cf7d8fc25615fd6d2cb027fad8f3dadffb09d (patch) | |
tree | d9bec45b0b8bf69191bd35bec2a27a49948a48da /dirmngr | |
parent | common: Add KEM constants for NIST curves. (diff) | |
download | gnupg-645cf7d8fc25615fd6d2cb027fad8f3dadffb09d.tar.gz gnupg-645cf7d8fc25615fd6d2cb027fad8f3dadffb09d.zip |
Revert "w32: On socket nonce mismatch close the socket."
--
The commit was entirely bogus because the check_nonce function closes
the socket itself if it returns with true. Thus closing the socket by
the caller in the true case was bogus.
The more likely cause for the hangs on Windows are in scdaemon:
* scd: Fix posssible lockup on Windows due to a lost select
result. [rGa7ec3792c5]
GnuPG-bug-id: 7434
Fixes-commit: 73f6c2dd4d3e5b58faf69821726988ae984fad89.
Diffstat (limited to 'dirmngr')
-rw-r--r-- | dirmngr/dirmngr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dirmngr/dirmngr.c b/dirmngr/dirmngr.c index 492171aac..08f313879 100644 --- a/dirmngr/dirmngr.c +++ b/dirmngr/dirmngr.c @@ -2272,8 +2272,7 @@ start_connection_thread (void *arg) if (check_nonce (fd, &socket_nonce)) { - log_error ("handler for fd %d FAILED nonce check\n", FD_DBG (fd)); - assuan_sock_close (fd); + log_error ("handler nonce check FAILED\n"); return NULL; } |