aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2018-07-25 02:41:17 +0000
committerRitu Sood <ritu.sood@intel.com>2018-07-25 02:42:54 +0000
commit343c640d3c9ca14ffda9fda3aa3c759aff3d0c0b (patch)
treea7e4c6603f0d0eaca752122c9c6fc54182aaf1bb
parent37ae03d707d87c00f49feaface32c38286013029 (diff)
Bug - Private Handle mandatory
Private handle should not be mandatory as it is not needed in no HW support case Change-Id: I92158cb0b90f2b661ac091afc4131ad048887e17 Issue-ID: AAF-405 Signed-off-by: Ritu Sood <ritu.sood@intel.com>
-rw-r--r--SoftHSMv2/src/lib/P11Attributes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/SoftHSMv2/src/lib/P11Attributes.h b/SoftHSMv2/src/lib/P11Attributes.h
index 7cc9976..8c9b98b 100644
--- a/SoftHSMv2/src/lib/P11Attributes.h
+++ b/SoftHSMv2/src/lib/P11Attributes.h
@@ -1270,7 +1270,7 @@ class P11AttrPrivateHandle : public P11Attribute
{
public:
// Constructor
- P11AttrPrivateHandle(OSObject* inobject) : P11Attribute(inobject) { type = CKA_OS_PRIVATE_HANDLE; checks = ck1; }
+ P11AttrPrivateHandle(OSObject* inobject) : P11Attribute(inobject) { type = CKA_OS_PRIVATE_HANDLE; checks = 0; }
protected:
// Set the default value of the attribute