From c1599f83f727ef71249e2fbfd3cc0f0cd430df26 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Wed, 6 Nov 2002 00:42:57 +0000 Subject: 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 --- src/kadmin/ktutil/ChangeLog | 5 +++++ src/kadmin/ktutil/ktutil_funcs.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'src/kadmin/ktutil') diff --git a/src/kadmin/ktutil/ChangeLog b/src/kadmin/ktutil/ChangeLog index 388fde508..cccc49363 100644 --- a/src/kadmin/ktutil/ChangeLog +++ b/src/kadmin/ktutil/ChangeLog @@ -1,3 +1,8 @@ +2002-11-05 Tom Yu + + * ktutil_funcs.c (ktutil_add): Remove trailing colon, as new + implementation of krb5_read_password() appends it. + 2002-08-29 Ken Raeburn * ktutil_ct.ct: Add final "end" statement. diff --git a/src/kadmin/ktutil/ktutil_funcs.c b/src/kadmin/ktutil/ktutil_funcs.c index 073b03628..c64a41cae 100644 --- a/src/kadmin/ktutil/ktutil_funcs.c +++ b/src/kadmin/ktutil/ktutil_funcs.c @@ -161,7 +161,7 @@ krb5_error_code ktutil_add(context, list, princ_str, kvno, goto cleanup; } - sprintf(promptstr, "Password for %.1000s: ", princ_str); + sprintf(promptstr, "Password for %.1000s", princ_str); retval = krb5_read_password(context, promptstr, NULL, password.data, &password.length); if (retval) -- cgit