summaryrefslogtreecommitdiff
path: root/common/pkcs11x.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/pkcs11x.h')
-rw-r--r--common/pkcs11x.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/common/pkcs11x.h b/common/pkcs11x.h
index d1c52c3..5e3ad6e 100644
--- a/common/pkcs11x.h
+++ b/common/pkcs11x.h
@@ -146,7 +146,11 @@ typedef CK_ULONG CK_X_ASSERTION_TYPE;
#define CKO_X_CERTIFICATE_EXTENSION (CKO_X_VENDOR + 200)
#define CKA_X_DISTRUSTED (CKA_X_VENDOR + 100)
#define CKA_X_CRITICAL (CKA_X_VENDOR + 101)
-#define CKA_X_PUBLIC_KEY_INFO (CKA_X_VENDOR + 102)
+
+/* From the 2.40 draft */
+#ifndef CKA_PUBLIC_KEY_INFO
+#define CKA_PUBLIC_KEY_INFO 0x00000173UL
+#endif
#endif /* CRYPTOKI_X_VENDOR_DEFINED */