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;