summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2008-12-08 20:05:42 +0000
committerStef Walter <stef@memberwebs.com>2008-12-08 20:05:42 +0000
commitb3dc22cab68bae938eac238c6f673e564d6b1182 (patch)
tree7689ced1d7ffae699a66975298979b429a8e6df2 /src
parent41cc7ecf94d5dda9bed3dbd15695aae266b4a3e4 (diff)
Fix problem when comparing the function list.
Diffstat (limited to 'src')
-rw-r--r--src/module.c2
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");
}