From: Timo T. <no...@gi...> - 2022-05-31 11:18:38
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: c2e00e9071952b30ed6d58d9b7670eb3d93ea6fb https://github.com/OpenSC/OpenSC/commit/c2e00e9071952b30ed6d58d9b7670eb3d93ea6fb Author: Timo Teräs <tim...@ik...> Date: 2022-05-31 (Tue, 31 May 2022) Changed paths: M src/pkcs11/pkcs11-session.c Log Message: ----------- pkcs11-session: fix C_GetSessionInfo in 'atomic' mode The device is always in logged-out mode with PIN cached, so ignore the logged-in check. Since the token is now guaranteed to be logged-in or have sessions removed, simplify the further checks to match the session state. Fixes: 4bd8cda96604 "pkcs11-session: When we notice logout in lower layers..." |