client: fold email addresses to lowercase

Change-Id: I1c7bdf6a66f0e79d19aab4c833da48552f8d6c8b
diff --git a/tools/ndncert-client.cpp b/tools/ndncert-client.cpp
index b2e3593..ee22db5 100644
--- a/tools/ndncert-client.cpp
+++ b/tools/ndncert-client.cpp
@@ -479,6 +479,10 @@
     std::cerr << "\n***************************************\n"
           << "Step " << nStep++ << ": Please provide information for name assignment" << std::endl;
     auto captured = captureParams(profile.probeParameterKeys);
+    auto it = captured.find(defaultChallenge);
+    if (it != captured.end()) {
+      it->second = boost::algorithm::to_lower_copy(it->second);
+    }
     capturedProbeParams = std::make_shared<std::multimap<std::string, std::string>>(captured);
   }
   face.expressInterest(*Request::genProbeInterest(profile, std::move(*capturedProbeParams)),