From 75654253498993ff1638e0e64440c335b54df1db Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 17 Dec 2012 16:05:36 +0100 Subject: Add the builtin roots NSS specific object This tells NSS that this is a source of anchors. --- trust/tests/test-token.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'trust/tests/test-token.c') diff --git a/trust/tests/test-token.c b/trust/tests/test-token.c index 1d9228a..8a5b34d 100644 --- a/trust/tests/test-token.c +++ b/trust/tests/test-token.c @@ -72,11 +72,11 @@ test_token_load (CuTest *cu) setup (cu); count = p11_token_load (test.token); - CuAssertIntEquals (cu, 4, count); + CuAssertIntEquals (cu, 5, count); - /* A certificate and trust object for each parsed object */ + /* A certificate and trust object for each parsed object + builtin */ objects = p11_token_objects (test.token); - CuAssertIntEquals (cu, count * 2, p11_dict_size (objects)); + CuAssertIntEquals (cu, ((count - 1) * 2) + 1, p11_dict_size (objects)); teardown (cu); } -- cgit v1.1