pkcs11: Undefine internal typedef and remove its usage
This commit is contained in:
parent
fc2fecc80e
commit
9d1a214340
|
@ -810,7 +810,7 @@ out:
|
|||
*/
|
||||
#define NUM_INTERFACES 2
|
||||
#define DEFAULT_INTERFACE 0
|
||||
ck_interface interfaces[NUM_INTERFACES] = {
|
||||
CK_INTERFACE interfaces[NUM_INTERFACES] = {
|
||||
{"PKCS 11", (void *)&pkcs11_function_list_3_0, 0},
|
||||
{"PKCS 11", (void *)&pkcs11_function_list, 0}
|
||||
};
|
||||
|
|
|
@ -176,7 +176,7 @@ allocate_function_list(int v3)
|
|||
/* The compatibility interfaces that can be returned from Interface functions
|
||||
* if the V3 API is used, but the proxied module does not support V3 API */
|
||||
#define NUM_INTERFACES 1
|
||||
ck_interface compat_interfaces[NUM_INTERFACES] = {
|
||||
CK_INTERFACE compat_interfaces[NUM_INTERFACES] = {
|
||||
{"PKCS 11", NULL, 0}
|
||||
};
|
||||
|
||||
|
|
|
@ -1786,6 +1786,8 @@ typedef struct ck_c_initialize_args *CK_C_INITIALIZE_ARGS_PTR;
|
|||
#undef ck_rv_t
|
||||
#undef ck_notify_t
|
||||
|
||||
#undef ck_interface
|
||||
|
||||
#undef ck_function_list
|
||||
#undef ck_function_list_3_0
|
||||
|
||||
|
|
Loading…
Reference in New Issue