diff options
author | Stef Walter <stefw@redhat.com> | 2014-09-04 15:59:17 +0200 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2014-09-10 08:03:11 +0200 |
commit | b1cd802e4241aa81c12ba4ecccdb17404799ff03 (patch) | |
tree | c90732b3603d16c5ea0eb3c8541a474646b9da8c /trust/list.c | |
parent | 9ba2165ef75c63960ce95c9b1b085a0a630cfb14 (diff) |
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 <nmav@redhat.com>
https://bugs.freedesktop.org/show_bug.cgi?id=83495
Diffstat (limited to 'trust/list.c')
-rw-r--r-- | trust/list.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |