From: Robbie Harwood Date: Tue, 15 Jan 2019 18:41:16 +0000 (-0500) Subject: In kpropd, debug-log proper ticket enctype names X-Git-Tag: krb5-1.18-beta1~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30e12a2ecdf7e2a034a91626a03b5c9909e4c68d;p=thirdparty%2Fkrb5.git In kpropd, debug-log proper ticket enctype names This change replaces the last call of krb5_enctype_to_string() in our sources with krb5_enctype_to_name(), ensuring that we log consistently to users using readily discoverable strings. --- diff --git a/src/kprop/kpropd.c b/src/kprop/kpropd.c index 68323dd0fa..e3b73991b3 100644 --- a/src/kprop/kpropd.c +++ b/src/kprop/kpropd.c @@ -1270,7 +1270,8 @@ kerberos_authenticate(krb5_context context, int fd, krb5_principal *clientp, exit(1); } - retval = krb5_enctype_to_string(*etype, etypebuf, sizeof(etypebuf)); + retval = krb5_enctype_to_name(*etype, FALSE, etypebuf, + sizeof(etypebuf)); if (retval) { com_err(progname, retval, _("while unparsing ticket etype")); exit(1);