Skip to content

Commit 30c0943

Browse files
author
okir
committed
- it seems the upper limit for r/w binary is 244
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1130 c6295689-39f2-0310-b995-f0e70906c6a9
1 parent e396ff5 commit 30c0943

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libopensc/card-miocos.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ static int miocos_init(struct sc_card *card)
8383
_sc_card_add_rsa_alg(card, 1024, flags, 0);
8484
}
8585

86-
/* read_binary and friends shouldn't do more than 128 bytes
86+
/* read_binary and friends shouldn't do more than 244 bytes
8787
* per operation */
88-
card->max_le = 0x80;
88+
card->max_le = 244;
8989

9090
return 0;
9191
}

0 commit comments

Comments
 (0)