fixed type of pkcs15init_initialize

regression from 95b6b4cc
This commit is contained in:
Frank Morgner 2014-10-27 23:22:40 +01:00
parent 8ed4db76c8
commit d3c8fbcf1d
1 changed files with 2 additions and 1 deletions

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;