Merge pull request #312 from frankmorgner/fix-p15
fixed type of pkcs15init_initialize
This commit is contained in:
commit
8672291a73
@ -123,10 +123,11 @@ pkcs15init_change_pin(struct sc_pkcs11_slot *slot,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static CK_RV
|
static CK_RV
|
||||||
pkcs15init_initialize(struct sc_pkcs11_card *p11card, void *ptr,
|
pkcs15init_initialize(struct sc_pkcs11_slot *pslot, void *ptr,
|
||||||
CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen,
|
CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen,
|
||||||
CK_UTF8CHAR_PTR pLabel)
|
CK_UTF8CHAR_PTR pLabel)
|
||||||
{
|
{
|
||||||
|
struct sc_pkcs11_card *p11card = pslot->card;
|
||||||
struct sc_profile *profile = (struct sc_profile *) p11card->fws_data[0];
|
struct sc_profile *profile = (struct sc_profile *) p11card->fws_data[0];
|
||||||
struct sc_pkcs15init_initargs args;
|
struct sc_pkcs15init_initargs args;
|
||||||
struct sc_pkcs11_slot *slot;
|
struct sc_pkcs11_slot *slot;
|
||||||
|
Loading…
Reference in New Issue
Block a user