Closed ElMostafaIdrassi closed 3 years ago
The current implementation always hardcodes the scope to CARD_SCOPE_SYSTEM when calling EstablishContext. This PR gives the caller more freedom by passing the wanted scope as an argument of EstablishContext. This of course breaks the API.
CARD_SCOPE_SYSTEM
EstablishContext
Signed-off-by: El Mostafa Idrassi el-mostafa.idrassi@prestalab.net
Thanks, I think it is possible to avoid breaking the existing API and the extra smartcard/pcsc import with a few minor changes.
The current implementation always hardcodes the scope to
CARD_SCOPE_SYSTEM
when callingEstablishContext
. This PR gives the caller more freedom by passing the wanted scope as an argument ofEstablishContext
. This of course breaks the API.Signed-off-by: El Mostafa Idrassi el-mostafa.idrassi@prestalab.net