summaryrefslogtreecommitdiff
path: root/trust
diff options
context:
space:
mode:
Diffstat (limited to 'trust')
-rw-r--r--trust/Makefile.am2
-rw-r--r--trust/anchor.c2
-rw-r--r--trust/extract.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/trust/Makefile.am b/trust/Makefile.am
index 7410f5d..d6d291f 100644
--- a/trust/Makefile.am
+++ b/trust/Makefile.am
@@ -104,7 +104,7 @@ trust_SOURCES = \
extract-openssl.c \
extract-pem.c \
extract-cer.c \
- list.c \
+ list.c list.h \
openssl.asn openssl.asn.h \
save.c save.h \
trust.c \
diff --git a/trust/anchor.c b/trust/anchor.c
index a111e14..d00bef3 100644
--- a/trust/anchor.c
+++ b/trust/anchor.c
@@ -172,7 +172,7 @@ files_to_attrs (int argc,
p11_parser *parser;
p11_array *parsed;
p11_array *array;
- int ret;
+ int ret = P11_PARSE_SUCCESS;
int i, j;
array = p11_array_new (p11_attrs_free);
diff --git a/trust/extract.c b/trust/extract.c
index d12d18b..1a38f11 100644
--- a/trust/extract.c
+++ b/trust/extract.c
@@ -288,8 +288,8 @@ int
p11_trust_extract_compat (int argc,
char *argv[])
{
- char *path;
- char *path2;
+ char *path = NULL;
+ char *path2 = NULL;
int error;
argv[argc] = NULL;