aboutsummaryrefslogtreecommitdiff
path: root/admin/add.c
diff options
context:
space:
mode:
Diffstat (limited to 'admin/add.c')
-rw-r--r--admin/add.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/add.c b/admin/add.c
index 3e8be9a8c404..13580b9bb570 100644
--- a/admin/add.c
+++ b/admin/add.c
@@ -94,7 +94,8 @@ kt_add(struct add_options *opt, int argc, char **argv)
goto out;
}
if(opt->password_string == NULL && opt->random_flag == 0) {
- if(UI_UTIL_read_pw_string(buf, sizeof(buf), "Password: ", 1)) {
+ if(UI_UTIL_read_pw_string(buf, sizeof(buf), "Password: ",
+ UI_UTIL_FLAG_VERIFY)) {
ret = 1;
goto out;
}