- restrict max read/write size to 128
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1106 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
3ed0c2f5b1
commit
877423b7ec
|
@ -83,6 +83,10 @@ static int miocos_init(struct sc_card *card)
|
|||
_sc_card_add_rsa_alg(card, 1024, flags, 0);
|
||||
}
|
||||
|
||||
/* read_binary and friends shouldn't do more than 128 bytes
|
||||
* per operation */
|
||||
card->max_le = 0x80;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue