diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module.c b/src/module.c index baf9cbe..7dec518 100644 --- a/src/module.c +++ b/src/module.c @@ -317,7 +317,7 @@ p11t_module_load(const char *filename) rv = (p11t_module_funcs->C_GetFunctionList)(&list); P11T_CHECK_RV("Call through function list", rv, CKR_OK); - if(!memcmp(list, p11t_module_funcs, sizeof(*list)) != 0) + if(memcmp(list, p11t_module_funcs, sizeof(*list)) != 0) p11t_check_info("Call doesn't return same data as library C_GetFunctionList entry point"); } |