commit | b4bb85a8a2bcbf0ea22be9722a3745d844f89d6d | [log] [tgz] |
---|---|---|
author | Yingdi Yu <yuyingdi@gmail.com> | Thu Jan 16 10:11:04 2014 -0800 |
committer | Yingdi Yu <yuyingdi@gmail.com> | Thu Jan 16 11:54:37 2014 -0800 |
tree | 5fb4221b74bdc7ce2c7176831a80701b35ccde0d | |
parent | 4f3246305c3357bedcfb2b6947aa9285fe863268 [diff] [blame] |
security: renaming methods 1. renaming Verifier::policies to Verifier::policy 2. appending SecTpm related methods with "InTpm" Change-Id: I3790947d3f236e8d56fd52eaefc6e2bbaea92385
diff --git a/include/ndn-cpp/security/verifier.hpp b/include/ndn-cpp/security/verifier.hpp index 764dcd4..2dbd995 100644 --- a/include/ndn-cpp/security/verifier.hpp +++ b/include/ndn-cpp/security/verifier.hpp
@@ -43,7 +43,7 @@ * @return The Policy. */ inline SecPolicy& - policies() + policy() { if (!policy_) throw Error("policy is not assigned to the KeyChain");