tools: Disable unnecessary confirmation during ndnsec-import
Change-Id: I75113483a343bbe06cf0af85a08695b0a9ae9aeb
Refs: #3644
diff --git a/tools/ndnsec/import.cpp b/tools/ndnsec/import.cpp
index 4bb9b63..4137324 100644
--- a/tools/ndnsec/import.cpp
+++ b/tools/ndnsec/import.cpp
@@ -1,5 +1,5 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
+/*
* Copyright (c) 2013-2017 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
@@ -68,7 +68,7 @@
safeBag = io::load<security::SafeBag>(input);
int count = 3;
- while (!getPassword(importPassword, "Passphrase for the private key: ")) {
+ while (!getPassword(importPassword, "Passphrase for the private key: ", false)) {
count--;
if (count <= 0) {
std::cerr << "ERROR: Fail to get password" << std::endl;