From: Frank M. <no...@gi...> - 2020-03-04 20:12:11
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: dba0f567225bfde36b3097413f84ecf1d7fca27a https://github.com/OpenSC/OpenSC/commit/dba0f567225bfde36b3097413f84ecf1d7fca27a Author: Frank Morgner <fra...@gm...> Date: 2020-03-04 (Wed, 04 Mar 2020) Changed paths: M src/pkcs11/pkcs11-global.c M src/pkcs11/sc-pkcs11.h M src/pkcs11/slot.c Log Message: ----------- pkcs11: fixed state tracking - when listing the slots, we don't have a hotplug slot anymore with slot->reader == NULL. Instead, we're now using this state for any left over slots when a reader is removed. So we don't need to include this in the slot list - when listing the slots, we need to remember which slots the application has seen already, to not shrink the list of slots (which is allowed in PKCS#11 v2.2, but NSS can't handle this) |