From 128239732a5b7e184d5d9c505402630ee9215080 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 18 Mar 2013 20:59:57 +0100 Subject: attrs: Change p11_attrs_to_string() to allow static templates Allow passing the number of attributes to print, which lets us use this directly on templates passed in by callers of the PKCS#11 API. --- trust/tests/frob-nss-trust.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trust') diff --git a/trust/tests/frob-nss-trust.c b/trust/tests/frob-nss-trust.c index 790362f..da76795 100644 --- a/trust/tests/frob-nss-trust.c +++ b/trust/tests/frob-nss-trust.c @@ -68,7 +68,7 @@ dump_object (P11KitIter *iter, else name = strdup ("unknown"); - string = p11_attrs_to_string (attrs); + string = p11_attrs_to_string (attrs, -1); printf ("\"%s\" = %s\n", name, string); free (string); -- cgit v1.1