From b3dc22cab68bae938eac238c6f673e564d6b1182 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 8 Dec 2008 20:05:42 +0000 Subject: Fix problem when comparing the function list. --- src/module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- cgit v1.2.3