aboutsummaryrefslogtreecommitdiff
path: root/kadmin/cpw.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2023-01-06 20:48:22 +0000
committerCy Schubert <cy@FreeBSD.org>2023-01-06 20:48:22 +0000
commit6f4e10db3298f6d65e1e646fe52aaafc3682b788 (patch)
tree0a8de0ec1173c00886bcde1c3b18e0963e5f2b83 /kadmin/cpw.c
parentd5d1e8b157da7410fe13e6302f8e1bee81320bb5 (diff)
Diffstat (limited to 'kadmin/cpw.c')
-rw-r--r--kadmin/cpw.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kadmin/cpw.c b/kadmin/cpw.c
index 28cd30b52b16..fae47a5a316a 100644
--- a/kadmin/cpw.c
+++ b/kadmin/cpw.c
@@ -98,7 +98,9 @@ set_password (krb5_principal principal, char *password, int keepold)
free (princ_name);
if (aret == -1)
return ENOMEM;
- 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){
return 0; /* XXX error code? */