diff options
author | Stef Walter <stefw@redhat.com> | 2017-01-29 15:13:50 +0100 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2017-01-31 17:38:15 +0100 |
commit | 6caa48db1cab9a4d680062edcd139d9625c5aa7f (patch) | |
tree | b523134dc1fa10dcf029220b365d9e2d310467cb /trust | |
parent | f4384a40657e6abde6658ac7600abb879818b493 (diff) |
trust: Add an "all" filter option for trust commands
Diffstat (limited to 'trust')
-rw-r--r-- | trust/enumerate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/trust/enumerate.c b/trust/enumerate.c index ad0565f..731fadc 100644 --- a/trust/enumerate.c +++ b/trust/enumerate.c @@ -599,6 +599,9 @@ p11_enumerate_opt_filter (p11_enumerate *ex, attrs = p11_attrs_build (NULL, &certificate, &x509, NULL); ex->flags |= P11_ENUMERATE_COLLAPSE; + } else if (strcmp (option, "all") == 0) { + attrs = p11_attrs_build (NULL, NULL); + } else { p11_message ("unsupported or unrecognized filter: %s", option); return false; |