From 1ea08989cecee217befd3b964b5a4f0d584e2a29 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Mon, 13 Feb 2017 16:32:01 +0100 Subject: 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 --- trust/extract.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.1