Merge pull request #312 from frankmorgner/fix-p15

fixed type of pkcs15init_initialize
This commit is contained in:
Frank Morgner 2014-11-05 10:38:42 +01:00
commit 8672291a73

View File

@ -123,10 +123,11 @@ pkcs15init_change_pin(struct sc_pkcs11_slot *slot,
}
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 pLabel)
{
struct sc_pkcs11_card *p11card = pslot->card;
struct sc_profile *profile = (struct sc_profile *) p11card->fws_data[0];
struct sc_pkcs15init_initargs args;
struct sc_pkcs11_slot *slot;