security: Construct KeyChain from configuration file.
Change-Id: Iaddac24e2c4e199fdde83fa1d0067a87e18729c4
Refs: #1532
diff --git a/src/security/sec-tpm-file.hpp b/src/security/sec-tpm-file.hpp
index 4b8496e..0f1d8be 100644
--- a/src/security/sec-tpm-file.hpp
+++ b/src/security/sec-tpm-file.hpp
@@ -66,7 +66,7 @@
}
virtual bool
- locked()
+ isLocked()
{
return false;
}
@@ -74,7 +74,7 @@
virtual bool
unlockTpm(const char* password, size_t passwordLength, bool usePassword)
{
- return !locked();
+ return !isLocked();
}
virtual void
@@ -106,7 +106,7 @@
generateRandomBlock(uint8_t* res, size_t size);
virtual void
- addAppToACL(const Name& keyName, KeyClass keyClass, const std::string& appPath, AclType acl)
+ addAppToAcl(const Name& keyName, KeyClass keyClass, const std::string& appPath, AclType acl)
{
}