- increase SC_MAX_PIN_SIZE to 256 (OpenPGP cards have 254 max)

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1622 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
okir 2003-11-20 15:39:38 +00:00
parent 28a5eb0204
commit a91824eafa
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ extern "C" {
#define SC_MAX_SLOTS 4
#define SC_MAX_CARD_APPS 8
#define SC_MAX_APDU_BUFFER_SIZE 258
#define SC_MAX_PIN_SIZE 16
#define SC_MAX_PIN_SIZE 256 /* OpenPGP card has 254 max */
#define SC_MAX_ATR_SIZE 33
#define SC_MAX_AID_SIZE 16
/* Beware: the following needs to be a mutiple of 4