security: adjusting class names and method names to the new ndn-cpp security api
diff --git a/src/sync-socket.h b/src/sync-socket.h
index a0ceec1..c3232bb 100644
--- a/src/sync-socket.h
+++ b/src/sync-socket.h
@@ -56,7 +56,7 @@
* @param dataCallback the callback to process data
*/
SyncSocket (const std::string &syncPrefix,
- ndn::ptr_lib::shared_ptr<SyncPolicyManager> syncPolicyManager,
+ ndn::ptr_lib::shared_ptr<SecPolicySync> policy,
ndn::ptr_lib::shared_ptr<ndn::Face> face,
NewDataCallback dataCallback,
RemoveCallback rmCallback);
@@ -113,7 +113,7 @@
typedef boost::unordered_map<std::string, SeqNo> SequenceLog;
NewDataCallback m_newDataCallback;
SequenceLog m_sequenceLog;
- ndn::ptr_lib::shared_ptr<SyncPolicyManager> m_syncPolicyManager;
+ ndn::ptr_lib::shared_ptr<SecPolicySync> m_policy;
ndn::ptr_lib::shared_ptr<ndn::Verifier> m_verifier;
ndn::ptr_lib::shared_ptr<ndn::KeyChain> m_keyChain;
ndn::ptr_lib::shared_ptr<ndn::Face> m_face;