diff options
author | Stef Walter <stefw@gnome.org> | 2013-03-18 20:59:57 +0100 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2013-03-18 21:54:48 +0100 |
commit | 128239732a5b7e184d5d9c505402630ee9215080 (patch) | |
tree | 8432e2758971c4eecf56881cfe55803831985079 /trust | |
parent | 1ad9f98b11f3f0d411bf9517f1dc8985ea3dbe2a (diff) |
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.
Diffstat (limited to 'trust')
-rw-r--r-- | trust/tests/frob-nss-trust.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |