libhcrypto: UI_UTIL_FLAG_VERIFY_SILENT
This commit is contained in:

committed by
Nico Williams

parent
7e0ff63b38
commit
014f16883c
@@ -138,7 +138,9 @@ add_one_principal (const char *name,
|
||||
krb5_set_error_message(context, ret, "out of memory");
|
||||
goto out;
|
||||
}
|
||||
ret = UI_UTIL_read_pw_string (pwbuf, sizeof(pwbuf), prompt, 1);
|
||||
ret = UI_UTIL_read_pw_string (pwbuf, sizeof(pwbuf), prompt,
|
||||
UI_UTIL_FLAG_VERIFY |
|
||||
UI_UTIL_FLAG_VERIFY_SILENT);
|
||||
free (prompt);
|
||||
if (ret) {
|
||||
ret = KRB5_LIBOS_BADPWDMATCH;
|
||||
|
Reference in New Issue
Block a user