libhcrypto: UI_UTIL_FLAG_VERIFY_SILENT
This commit is contained in:

committed by
Nico Williams

parent
7e0ff63b38
commit
014f16883c
@@ -99,7 +99,8 @@ stash(struct stash_options *opt, int argc, char **argv)
|
||||
random_password (buf, sizeof(buf));
|
||||
printf("Using random master stash password: %s\n", buf);
|
||||
} else {
|
||||
if(UI_UTIL_read_pw_string(buf, sizeof(buf), "Master key: ", 1)) {
|
||||
if(UI_UTIL_read_pw_string(buf, sizeof(buf), "Master key: ",
|
||||
UI_UTIL_FLAG_VERIFY)) {
|
||||
hdb_free_master_key(context, mkey);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user