summaryrefslogtreecommitdiffstats
path: root/common/init.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2020-07-17 04:11:45 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2020-07-17 04:11:45 +0200
commit46d185f60397f68830bfdfb99627b29aea5016f1 (patch)
tree32f13708595decc01534906d0d72df050976176d /common/init.c
parentgpg-card: Fix type of historyname. (diff)
downloadgnupg2-46d185f60397f68830bfdfb99627b29aea5016f1.tar.xz
gnupg2-46d185f60397f68830bfdfb99627b29aea5016f1.zip
scd: PC/SC: Don't release the context when it's in use.
* scd/apdu.c (close_pcsc_reader): Check if it's not in the loop. -- GnuPG-bug-id: 4998 Reported-by: Kevin Locke Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'common/init.c')
-rw-r--r--common/init.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/common/init.c b/common/init.c
index 073c5cd8a..dbdf40527 100644
--- a/common/init.c
+++ b/common/init.c
@@ -161,17 +161,6 @@ _init_common_subsystems (gpg_err_source_t errsource, int *argcp, char ***argvp)
/* Try to auto set the character set. */
set_native_charset (NULL);
-#ifdef HAVE_W32_SYSTEM
- /* For W32 we need to initialize the socket layer. This is because
- we use recv and send in libassuan as well as at some other
- places. */
- {
- WSADATA wsadat;
-
- WSAStartup (0x202, &wsadat);
- }
-#endif
-
#ifdef HAVE_W32CE_SYSTEM
/* Register the sleep exit function before the estream init so that
the sleep will be called after the estream registered atexit