From b1cd802e4241aa81c12ba4ecccdb17404799ff03 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 4 Sep 2014 15:59:17 +0200 Subject: common: Change the CKA_X_PUBLIC_KEY_INFO constant to CKA_PUBLIC_KEY_INFO CKA_PUBLIC_KEY_INFO is defined in the PKCS#11 2.40 draft, so use that rather than defining our own. * Fixed up by Nikos Mavrogiannopoulos https://bugs.freedesktop.org/show_bug.cgi?id=83495 --- trust/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trust/list.c') diff --git a/trust/list.c b/trust/list.c index c3f5759..12120e5 100644 --- a/trust/list.c +++ b/trust/list.c @@ -146,7 +146,7 @@ list_iterate (p11_enumerate *ex, } if (details) { - attr = p11_attrs_find_valid (ex->attrs, CKA_X_PUBLIC_KEY_INFO); + attr = p11_attrs_find_valid (ex->attrs, CKA_PUBLIC_KEY_INFO); if (attr) { p11_buffer_init (&buf, 1024); bytes = attr->pValue; -- cgit v1.1