Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkcs11: Fix C_WaitForSlotEvent() not working in Windows #2919

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 28, 2023

  1. 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.
    Luka Logar committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    1249401 View commit details
    Browse the repository at this point in the history