libhcrypto: UI_UTIL_FLAG_VERIFY_SILENT

This commit is contained in:
Luke Howard
2018-12-30 21:24:59 +11:00
committed by Nico Williams
parent 7e0ff63b38
commit 014f16883c
9 changed files with 25 additions and 10 deletions

View File

@@ -83,7 +83,8 @@ change_password(krb5_context context,
if (aret == -1 || msg == NULL)
krb5_errx (context, 1, "out of memory");
ret = UI_UTIL_read_pw_string (pwbuf, sizeof(pwbuf), msg, 1);
ret = UI_UTIL_read_pw_string (pwbuf, sizeof(pwbuf), msg,
UI_UTIL_FLAG_VERIFY);
free(msg);
if (name)
free(name);