remove useless codes related to CERT_QUERY
Change-Id: I5c2b75d9f26116fabee628cffd54b0247a69646d
diff --git a/src/clients/iterative-query-controller.cpp b/src/clients/iterative-query-controller.cpp
index 54bbb9a..908b499 100644
--- a/src/clients/iterative-query-controller.cpp
+++ b/src/clients/iterative-query-controller.cpp
@@ -214,13 +214,7 @@
query.setRrType(label::NS_RR_TYPE);
break;
case QUERY_STEP_QUERY_RR:
- if (m_rrType == label::CERT_RR_TYPE) {
- // this only works for dsk, and ksk needs different mechanism
- query.setQueryType(label::NDNS_CERT_QUERY);
- }
- else {
- query.setQueryType(label::NDNS_ITERATIVE_QUERY);
- }
+ query.setQueryType(label::NDNS_ITERATIVE_QUERY);
query.setRrLabel(m_dstLabel.getSubName(m_nFinishedComps));
query.setRrType(m_rrType);
break;
diff --git a/src/clients/query.cpp b/src/clients/query.cpp
index 8a133bb..ab70fff 100644
--- a/src/clients/query.cpp
+++ b/src/clients/query.cpp
@@ -64,7 +64,7 @@
Interest
Query::toInterest() const
{
- // <zone> [<KEY>|<NDNS>|<NDNS-R>] <rrLabel> <rrType>
+ // <zone> [<NDNS>|<NDNS-R>] <rrLabel> <rrType>
Name name;
name.append(this->m_zone)
diff --git a/src/clients/query.hpp b/src/clients/query.hpp
index f933eeb..6f8222b 100644
--- a/src/clients/query.hpp
+++ b/src/clients/query.hpp
@@ -34,7 +34,7 @@
*
* Query is an Interest whose name follows the format:
*
- * <zone> [<KEY>|<NDNS>|<NDNS-R>] <rrLabel> <rrType>
+ * <zone> [<NDNS>|<NDNS-R>] <rrLabel> <rrType>
*/
class Query : noncopyable
{