pkcs11-object.c: Add missing initializers.

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4966 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
andre 2010-12-17 19:09:24 +00:00
parent b58592d297
commit 30bf0f17a8
1 changed files with 20 additions and 3 deletions

View File

@ -29,9 +29,26 @@ static void sc_find_release(sc_pkcs11_operation_t *operation);
/* Pseudo mechanism for the Find operation */
static sc_pkcs11_mechanism_type_t find_mechanism = {
0, {0}, 0,
sizeof(struct sc_pkcs11_find_operation),
sc_find_release,
0, /* mech */
{0,0,0}, /* mech_info */
0, /* key_type */
sizeof(struct sc_pkcs11_find_operation), /* obj_size */
sc_find_release, /* release */
NULL, /* md_init */
NULL, /* md_update */
NULL, /* md_final */
NULL, /* sign_init */
NULL, /* sign_update */
NULL, /* sign_final */
NULL, /* sign_size */
#ifdef ENABLE_OPENSSL
NULL, /* verif_init */
NULL, /* verif_update */
NULL, /* verif_final */
#endif
NULL, /* decrypt_init */
NULL, /* decrypt */
NULL /* mech_data */
};
static void sc_find_release(sc_pkcs11_operation_t *operation)