- 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:
okir 2003-05-14 12:25:13 +00:00
parent 3ed0c2f5b1
commit 877423b7ec
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}