diff options
author | Stef Walter <stef@thewalter.net> | 2013-08-28 10:45:06 +0200 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2013-08-29 11:18:16 +0200 |
commit | 2e6d7d3a1e03dc2dbcd98c995bd2d6e5906680d9 (patch) | |
tree | da743ad2355f88348b9c21e7a1ee2a8cd2c5768e /trust/trust.c | |
parent | dee46ac0c6287fbd57ec9b57ddeade27933fea05 (diff) | |
download | p11-kit-2e6d7d3a1e03dc2dbcd98c995bd2d6e5906680d9.tar.gz |
trust: Add a list command to the trust tool
Lists with PKCS#11 URI's and some basic fields.
Diffstat (limited to 'trust/trust.c')
-rw-r--r-- | trust/trust.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/trust/trust.c b/trust/trust.c index 5527065..4ed1df8 100644 --- a/trust/trust.c +++ b/trust/trust.c @@ -36,6 +36,7 @@ #include "anchor.h" #include "extract.h" +#include "list.h" #include "buffer.h" #include "compat.h" @@ -53,8 +54,9 @@ #include <unistd.h> static const p11_tool_command commands[] = { - { "anchor", p11_trust_anchor, "Add, remove, change trust anchors" }, + { "list", p11_trust_list, "List trust or certificates" }, { "extract", p11_trust_extract, "Extract certificates and trust" }, + { "anchor", p11_trust_anchor, "Add, remove, change trust anchors" }, { 0, } }; |