From: Frank M. <no...@gi...> - 2025-01-31 08:35:38
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: 97e590428d5edb1299a75a5d52ec4d2626410a93 https://github.com/OpenSC/OpenSC/commit/97e590428d5edb1299a75a5d52ec4d2626410a93 Author: Luka Logar <luk...@ci...> Date: 2025-01-31 (Fri, 31 Jan 2025) Changed paths: M src/libopensc/reader-pcsc.c Log Message: ----------- pkcs11: Fix C_WaitForSlotEvent() not working in Windows If there are any readers present when C_WaitForSlotEvent() is called, C_WaitForSlotEvent() returns immediately and does not wait for the card/slot event to happen. Apparently the MSDN documentation for SCardGetStatusChange() is inaccurate/incomplete and the dwCurrentState for \\?PnP?\Notification reader should contain the number of readers in it's HiWord to work properly. See https://stackoverflow.com/questions/16370909. To unsubscribe from these emails, change your notification settings at https://github.com/OpenSC/OpenSC/settings/notifications |