mirror of
https://github.com/chris2511/xca.git
synced 2026-09-14 11:06:19 +05:00
be less strict when requiring a card
This commit is contained in:
parent
681c46bb71
commit
f772e2a68f
@ -495,9 +495,7 @@ bool pki_scard::prepare_card(unsigned long *slot, bool verifyPubkey) const
|
||||
pkcs11 myp11;
|
||||
tkInfo ti = myp11.tokenInfo(p11_slots[i]);
|
||||
if (ti.label() == card_label &&
|
||||
ti.manufacturerID() == card_manufacturer &&
|
||||
ti.serial() == card_serial &&
|
||||
(card_model.isEmpty() || ti.model() == card_model))
|
||||
ti.serial() == card_serial)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user