Wrong assumptions about slots returned by PKCS11 library
Brought to you by:
chris2511
When using PKCS11 library to manage smart cards the code assumes that all slots returned by the library call are not empty. In some cases Gemalto's library returns list of slots in which the first one is empty and the second is ocupied by the smart card, this causes xca to report error and isn't able to use the smart card. Attached patches fixes this issue as records only non-empty slots.
Integrated into XCA 1.4.1
commit b0d131e79a060c89a9d7e3ade020caf7bd67bd8b
Author: Dancho Penev dpslavov@users.sourceforge.net
Date: Wed Feb 7 11:04:32 2018 +0100