diff options
| author | Tom Yu <tlyu@mit.edu> | 2002-11-06 00:42:57 +0000 |
|---|---|---|
| committer | Tom Yu <tlyu@mit.edu> | 2002-11-06 00:42:57 +0000 |
| commit | c1599f83f727ef71249e2fbfd3cc0f0cd430df26 (patch) | |
| tree | 30802757ae833537861283ee6bf65da3d21f901c /src/kadmin/cli/kadmin.c | |
| parent | 8d702bfe4bccba2b07d599ae2ecdd4225fa8a895 (diff) | |
| download | krb5-c1599f83f727ef71249e2fbfd3cc0f0cd430df26.tar.gz krb5-c1599f83f727ef71249e2fbfd3cc0f0cd430df26.tar.xz krb5-c1599f83f727ef71249e2fbfd3cc0f0cd430df26.zip | |
This commit fixes up the in-tree callers of krb5_read_password() and
des_read_password(). We should perhaps tighten up the test suite now.
ticket: 1217
status: open
target_version: 1.3
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14972 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin/cli/kadmin.c')
| -rw-r--r-- | src/kadmin/cli/kadmin.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kadmin/cli/kadmin.c b/src/kadmin/cli/kadmin.c index 72dc594b8..189938e65 100644 --- a/src/kadmin/cli/kadmin.c +++ b/src/kadmin/cli/kadmin.c @@ -681,10 +681,10 @@ void kadmin_cpw(argc, argv) } else if (argc == 1) { unsigned int i = sizeof (newpw) - 1; - sprintf(prompt1, "Enter password for principal \"%.900s\": ", + sprintf(prompt1, "Enter password for principal \"%.900s\"", *argv); sprintf(prompt2, - "Re-enter password for principal \"%.900s\": ", + "Re-enter password for principal \"%.900s\"", *argv); retval = krb5_read_password(context, prompt1, prompt2, newpw, &i); @@ -1009,10 +1009,10 @@ void kadmin_addprinc(argc, argv) } else if (pass == NULL) { unsigned int sz = sizeof (newpw) - 1; - sprintf(prompt1, "Enter password for principal \"%.900s\": ", + sprintf(prompt1, "Enter password for principal \"%.900s\"", canon); sprintf(prompt2, - "Re-enter password for principal \"%.900s\": ", + "Re-enter password for principal \"%.900s\"", canon); retval = krb5_read_password(context, prompt1, prompt2, newpw, &sz); |
