From 86e60637394340ef2fa3b3db6b451dac1d73052b Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 14 Mar 2013 10:05:17 +0100 Subject: trust: Rework input path treatment * Accept a single --with-trust-paths argument to ./configure which cotnains all the input paths. * The --with-system-anchors and --with-system-certificates ./configure arguments are no longer supported. Since they were only present briefly, no provision is made for backwards compatibility. * Each input file is treated as containing anchors by default unless an input certificate contains detailed trust information. * The files in each input directory are not automatically treated as anchors unless a certificate contains detailed trust information. * The files in anchors/ subdirectory of each input directory are automatically marked as anchors. * The files in the blacklist/ subdirectory of each input directory are automatically marked as blacklisted. * Update tests and move around test certificates so we can test these changes. https://bugs.freedesktop.org/show_bug.cgi?id=62327 --- trust/tests/input/anchors/cacert3.der | Bin 0 -> 1885 bytes trust/tests/input/anchors/testing-ca.der | Bin 0 -> 970 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 trust/tests/input/anchors/cacert3.der create mode 100644 trust/tests/input/anchors/testing-ca.der (limited to 'trust/tests/input/anchors') diff --git a/trust/tests/input/anchors/cacert3.der b/trust/tests/input/anchors/cacert3.der new file mode 100644 index 0000000..56f8c88 Binary files /dev/null and b/trust/tests/input/anchors/cacert3.der differ diff --git a/trust/tests/input/anchors/testing-ca.der b/trust/tests/input/anchors/testing-ca.der new file mode 100644 index 0000000..d3f70ea Binary files /dev/null and b/trust/tests/input/anchors/testing-ca.der differ -- cgit v1.1