krb5 commit: In kpropd, debug-log proper ticket enctype names

Greg Hudson <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.cvs
Message-ID <[email protected]>
https://github.com/krb5/krb5/commit/30e12a2ecdf7e2a034a91626a03b5c9909e4c68d
commit 30e12a2ecdf7e2a034a91626a03b5c9909e4c68d
Author: Robbie Harwood <[email protected]>
Date:   Tue Jan 15 13:41:16 2019 -0500

    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.

 src/kprop/kpropd.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/kprop/kpropd.c b/src/kprop/kpropd.c
index 68323dd..e3b7399 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);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.