diff options
author | NIIBE Yutaka <[email protected]> | 2020-07-17 02:11:45 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2020-07-17 02:11:45 +0000 |
commit | 46d185f60397f68830bfdfb99627b29aea5016f1 (patch) | |
tree | 32f13708595decc01534906d0d72df050976176d /dirmngr/dirmngr-client.c | |
parent | gpg-card: Fix type of historyname. (diff) | |
download | gnupg-46d185f60397f68830bfdfb99627b29aea5016f1.tar.gz gnupg-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 <[email protected]>
Diffstat (limited to 'dirmngr/dirmngr-client.c')
-rw-r--r-- | dirmngr/dirmngr-client.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/dirmngr/dirmngr-client.c b/dirmngr/dirmngr-client.c index 1ea10a8ad..f65a7fcfa 100644 --- a/dirmngr/dirmngr-client.c +++ b/dirmngr/dirmngr-client.c @@ -208,16 +208,6 @@ main (int argc, char **argv ) * init_common_subsystems, but we don't need that here. */ gpgrt_set_fixed_string_mapper (map_static_macro_string); - /* For W32 we need to initialize the socket subsystem. Because we - don't use Pth we need to do this explicit. */ -#ifdef HAVE_W32_SYSTEM - { - WSADATA wsadat; - - WSAStartup (0x202, &wsadat); - } -#endif /*HAVE_W32_SYSTEM*/ - /* Init Assuan. */ assuan_set_assuan_log_prefix (log_get_prefix (NULL)); assuan_set_gpg_err_source (GPG_ERR_SOURCE_DEFAULT); |