summaryrefslogtreecommitdiff
path: root/trust/anchor.c
diff options
context:
space:
mode:
Diffstat (limited to 'trust/anchor.c')
-rw-r--r--trust/anchor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/trust/anchor.c b/trust/anchor.c
index 2e6762f..fe46416 100644
--- a/trust/anchor.c
+++ b/trust/anchor.c
@@ -159,12 +159,12 @@ anchor_store (char **files,
};
CK_ATTRIBUTE *attrs;
- CK_FUNCTION_LIST *module;
+ CK_FUNCTION_LIST *module = NULL;
CK_SESSION_HANDLE session;
CK_OBJECT_HANDLE object;
p11_parser *parser;
p11_array *parsed;
- CK_RV rv;
+ CK_RV rv = CKR_OK;
int ret;
int i, j;