summaryrefslogtreecommitdiff
path: root/trust/trust.c
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2013-07-08 18:41:33 +0200
committerStef Walter <stef@thewalter.net>2013-07-08 18:41:33 +0200
commit3c36c7a68dfefdf75f7239dd7e006e7eb1366620 (patch)
treedbb307ae43ffff0f17e16dfeef457d98bc6e9bd5 /trust/trust.c
parentdcca67d72544e394f43a8c62840692c85d5b5b29 (diff)
downloadp11-kit-3c36c7a68dfefdf75f7239dd7e006e7eb1366620.tar.gz
trust: Add a basic 'anchor' command to store a new anchor
Diffstat (limited to 'trust/trust.c')
-rw-r--r--trust/trust.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/trust/trust.c b/trust/trust.c
index 1993951..5527065 100644
--- a/trust/trust.c
+++ b/trust/trust.c
@@ -34,6 +34,7 @@
#include "config.h"
+#include "anchor.h"
#include "extract.h"
#include "buffer.h"
@@ -52,6 +53,7 @@
#include <unistd.h>
static const p11_tool_command commands[] = {
+ { "anchor", p11_trust_anchor, "Add, remove, change trust anchors" },
{ "extract", p11_trust_extract, "Extract certificates and trust" },
{ 0, }
};