bug in initialization from transport state; refs #28

master
Marc Wäckerlin 11 years ago
parent 9b31a8c4ac
commit 76211e9072
  1. 4
      src/cardos.hxx

@ -1091,8 +1091,8 @@ namespace cardos {
CRYPTOLOG("log");
pcsc::Connection::Reader::Transaction lock(_reader);
if (transportState()) {
if (sigGPinRetries()!=-1) changeSigGPin(newPin, oldPin);
if (pkcs15PinRetries()!=-1) changePkcs15Pin(newPin, oldPin);
changeSigGPin(newPin, oldPin);
changePkcs15Pin(newPin, oldPin);
} else {
if (pkcs15PinRetries()!=-1) changePkcs15Pin(newPin, oldPin);
try {

Loading…
Cancel
Save