diff options
author | Stef Walter <stef@memberwebs.com> | 2008-12-08 20:05:42 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2008-12-08 20:05:42 +0000 |
commit | b3dc22cab68bae938eac238c6f673e564d6b1182 (patch) | |
tree | 7689ced1d7ffae699a66975298979b429a8e6df2 | |
parent | 41cc7ecf94d5dda9bed3dbd15695aae266b4a3e4 (diff) |
Fix problem when comparing the function list.
-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"); } |