Add credential based challenge using existing cert to request new cert

Change-Id: Iee18c64f55b42e73a3c1c201726d546096dcfef8
Refs: #4052
diff --git a/src/challenge-module/challenge-pin.cpp b/src/challenge-module/challenge-pin.cpp
index 8507bcf..94ea3e7 100644
--- a/src/challenge-module/challenge-pin.cpp
+++ b/src/challenge-module/challenge-pin.cpp
@@ -124,6 +124,7 @@
                                     const std::list<std::string>& paramList)
 {
   JsonSection result;
+  BOOST_ASSERT(status == WAIT_SELECTION);
   BOOST_ASSERT(paramList.size() == 0);
   return result;
 }