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 /common/constants.c | |
parent | 9ba2165ef75c63960ce95c9b1b085a0a630cfb14 (diff) | |
download | p11-kit-b1cd802e4241aa81c12ba4ecccdb17404799ff03.tar.gz |
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 'common/constants.c')
-rw-r--r-- | common/constants.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/constants.c b/common/constants.c index a2427c9..218ce93 100644 --- a/common/constants.c +++ b/common/constants.c @@ -98,6 +98,7 @@ const p11_constant p11_constant_types[] = { CT (CKA_EXPONENT_1, "exponent-1") CT (CKA_EXPONENT_2, "exponent-2") CT (CKA_COEFFICIENT, "coefficient") + CT2 (CKA_PUBLIC_KEY_INFO, "public-key-info", "x-public-key-info") CT (CKA_PRIME, "prime") CT (CKA_SUBPRIME, "subprime") CT (CKA_BASE, "base") @@ -176,7 +177,6 @@ const p11_constant p11_constant_types[] = { CT (CKA_X_PEER, "x-peer") CT (CKA_X_DISTRUSTED, "x-distrusted") CT (CKA_X_CRITICAL, "x-critical") - CT (CKA_X_PUBLIC_KEY_INFO, "x-public-key-info") { CKA_INVALID }, }; |