From 29af2c1eeca2fb0257e1172753b129d638472f0f Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 15 Mar 2013 16:24:27 +0100 Subject: trust: Use a SHA-1 hash of subjectPublicKeyInfo as CKA_ID by default This is what's recommended by the spec, and allows stapled extensions to hang off a predictable CKA_ID. https://bugs.freedesktop.org/show_bug.cgi?id=62329 --- trust/tests/test-module.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'trust/tests/test-module.c') diff --git a/trust/tests/test-module.c b/trust/tests/test-module.c index 9c633f0..772dc8a 100644 --- a/trust/tests/test-module.c +++ b/trust/tests/test-module.c @@ -82,7 +82,7 @@ setup (CuTest *cu) CuAssertTrue (cu, rv == CKR_OK); memset (&args, 0, sizeof (args)); - paths = SRCDIR "/input:" SRCDIR "/files/cacert-ca.der:" SRCDIR "/files/testing-server.der"; + paths = SRCDIR "/input:" SRCDIR "/files/self-signed-with-ku.der:" SRCDIR "/files/thawte.pem"; if (asprintf (&arguments, "paths='%s'", paths) < 0) CuAssertTrue (cu, false && "not reached"); args.pReserved = arguments; @@ -154,8 +154,8 @@ test_get_slot_info (CuTest *cu) /* These are the paths passed in in setup() */ const char *paths[] = { SRCDIR "/input", - SRCDIR "/files/cacert-ca.der", - SRCDIR "/files/testing-server.der" + SRCDIR "/files/self-signed-with-ku.der", + SRCDIR "/files/thawte.pem" }; setup (cu); @@ -191,8 +191,8 @@ test_get_token_info (CuTest *cu) /* These are the paths passed in in setup() */ const char *labels[] = { "input", - "cacert-ca.der", - "testing-server.der" + "self-signed-with-ku.der", + "thawte.pem" }; setup (cu); -- cgit v1.1