Skip to content

Commit

Permalink
This should be limited too.
Browse files Browse the repository at this point in the history
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3278 c6295689-39f2-0310-b995-f0e70906c6a9
  • Loading branch information
gurer committed Oct 6, 2007
1 parent 57f7f6e commit f947614
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libopensc/card-akis.c
Expand Up @@ -65,6 +65,8 @@ akis_init(sc_card_t *card)
card->max_pin_len = 16;
if (card->max_recv_size > 244)
card->max_recv_size = 244;
if (card->max_send_size > 244)
card->max_send_size = 244;

flags = SC_ALGORITHM_RSA_RAW | SC_ALGORITHM_RSA_PAD_PKCS1;
_sc_card_add_rsa_alg(card, 2048, flags, 0);
Expand Down

0 comments on commit f947614

Please sign in to comment.