diff options
author | Daiki Ueno <dueno@redhat.com> | 2017-02-13 16:32:01 +0100 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2017-02-14 09:49:41 +0100 |
commit | 1ea08989cecee217befd3b964b5a4f0d584e2a29 (patch) | |
tree | 393d622914f95f6b4a7d1497f521da4988911d02 | |
parent | fd9b5c19485e2b88150696b523d889df2ed41cba (diff) |
trust: Revert to the original 'extract' behavior
Since commit f4384a40, due to a missing ex->flags setting, the 'trust
extract' command didn't retrieve correlation between related objects and
that was causing assertion failure when writing PEM files.
https://bugs.freedesktop.org/show_bug.cgi?id=99795
-rw-r--r-- | trust/extract.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trust/extract.c b/trust/extract.c index 05273f9..3433151 100644 --- a/trust/extract.c +++ b/trust/extract.c @@ -285,6 +285,7 @@ p11_trust_extract (int argc, if (!p11_enumerate_ready (&ex, "ca-anchors")) exit (1); + ex.flags |= P11_ENUMERATE_CORRELATE; ret = (format) (&ex, argv[0]) ? 0 : 1; p11_enumerate_cleanup (&ex); |