Change MSC_MAX_APDU to make some buffers larger to support extended
APDUs. The change was only from 256 to 512 bytes since it is more than enough for 2048 bit keys; Thanks to Joao Poupino for the patch http://www.opensc-project.org/pipermail/opensc-devel/2009-March/011978.html git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3670 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
7b07db6b59
commit
e0f3545157
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
#include "muscle-filesystem.h"
|
#include "muscle-filesystem.h"
|
||||||
|
|
||||||
#define MSC_MAX_APDU 256 /* Max APDU send/recv, used for stack allocation */
|
#define MSC_MAX_APDU 512 /* Max APDU send/recv, used for stack allocation */
|
||||||
#define MSC_MAX_PIN_LENGTH 8
|
#define MSC_MAX_PIN_LENGTH 8
|
||||||
#define MSC_MAX_PIN_COMMAND_LENGTH ((1 + MSC_MAX_PIN_LENGTH) * 2)
|
#define MSC_MAX_PIN_COMMAND_LENGTH ((1 + MSC_MAX_PIN_LENGTH) * 2)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue