Update the NDNCERT library to version NDNCERT v2
spec:[https://github.com/named-data/ndncert/wiki/NDNCERT-Protocol-new]
Change-Id: Ia480a8e70c4b38ca170dfe2fcf50d1265ab65f46
diff --git a/src/client-config.cpp b/src/client-config.cpp
index e28407c..47b75da 100644
--- a/src/client-config.cpp
+++ b/src/client-config.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2017-2018, Regents of the University of California.
+ * Copyright (c) 2017-2019, Regents of the University of California.
*
* This file is part of ndncert, a certificate management system based on NDN.
*
@@ -61,19 +61,9 @@
ClientCaItem item;
item.m_caName = Name(configSection.get<std::string>("ca-prefix"));
item.m_caInfo = configSection.get<std::string>("ca-info");
- item.m_probe = configSection.get("probe", "");
- std::string listEnabledField = configSection.get("is-list-enabled", "false");
- if (listEnabledField == "true") {
- item.m_isListEnabled = true;
- }
- else {
- item.m_isListEnabled = false;
- }
- item.m_targetedList = configSection.get("target-list", "");
-
+ item.m_probe = configSection.get<std::string>("probe");
std::istringstream ss(configSection.get<std::string>("certificate"));
item.m_anchor = *(io::load<security::v2::Certificate>(ss));
-
return item;
}