From 6caa48db1cab9a4d680062edcd139d9625c5aa7f Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sun, 29 Jan 2017 15:13:50 +0100 Subject: trust: Add an "all" filter option for trust commands --- trust/enumerate.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.1