Update SoftHSM v2.0 to the latest version
[aaf/sshsm.git] / SoftHSMv2 / src / lib / P11Attributes.h
index 8c9b98b..d40a9f5 100644 (file)
@@ -346,7 +346,7 @@ class P11AttrPublicKeyInfo : public P11Attribute
 {
 public:
        // Constructor
-       P11AttrPublicKeyInfo(OSObject* inobject, CK_ULONG inchecks) : P11Attribute(inobject) { type = CKA_OBJECT_ID; checks = inchecks; }
+       P11AttrPublicKeyInfo(OSObject* inobject, CK_ULONG inchecks) : P11Attribute(inobject) { type = CKA_PUBLIC_KEY_INFO; checks = inchecks; }
 
 protected:
        // Set the default value of the attribute