bug in initialization from transport state; refs #28
This commit is contained in:
@@ -1091,8 +1091,8 @@ namespace cardos {
|
|||||||
CRYPTOLOG("log");
|
CRYPTOLOG("log");
|
||||||
pcsc::Connection::Reader::Transaction lock(_reader);
|
pcsc::Connection::Reader::Transaction lock(_reader);
|
||||||
if (transportState()) {
|
if (transportState()) {
|
||||||
if (sigGPinRetries()!=-1) changeSigGPin(newPin, oldPin);
|
changeSigGPin(newPin, oldPin);
|
||||||
if (pkcs15PinRetries()!=-1) changePkcs15Pin(newPin, oldPin);
|
changePkcs15Pin(newPin, oldPin);
|
||||||
} else {
|
} else {
|
||||||
if (pkcs15PinRetries()!=-1) changePkcs15Pin(newPin, oldPin);
|
if (pkcs15PinRetries()!=-1) changePkcs15Pin(newPin, oldPin);
|
||||||
try {
|
try {
|
||||||
|
Reference in New Issue
Block a user