krb5 commit: Remove dead code in do_as_req.c

Zhanna A Tsitkova tsitkova at MIT.EDU
Wed Aug 22 11:03:03 EDT 2012


https://github.com/krb5/krb5/commit/9f578f00e2b90602e9a066ae918d4b4e23690362
commit 9f578f00e2b90602e9a066ae918d4b4e23690362
Author: Zhanna Tsitkov <tsitkova at mit.edu>
Date:   Wed Aug 22 10:26:24 2012 -0400

    Remove dead code in do_as_req.c
    
    Commit r21692 removed the KRB5_KDB_NON_MS_PRINCIPAL flag.

 src/kdc/do_as_req.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/src/kdc/do_as_req.c b/src/kdc/do_as_req.c
index 979239e..363d3ab 100644
--- a/src/kdc/do_as_req.c
+++ b/src/kdc/do_as_req.c
@@ -563,18 +563,6 @@ process_as_req(krb5_kdc_req *request, krb5_data *req_pkt,
         goto errout;
     }
 
-#if 0
-    /*
-     * Turn off canonicalization if client is marked DES only
-     * (unless enterprise principal name was requested)
-     */
-    if (isflagset(client->attributes, KRB5_KDB_NON_MS_PRINCIPAL) &&
-        krb5_princ_type(kdc_context,
-                        request->client) != KRB5_NT_ENTERPRISE_PRINCIPAL) {
-        clear(c_flags, KRB5_KDB_FLAG_CANONICALIZE);
-    }
-#endif
-
     s_flags = 0;
     setflag(s_flags, KRB5_KDB_FLAG_ALIAS_OK);
     if (isflagset(state->request->kdc_options, KDC_OPT_CANONICALIZE)) {


More information about the cvs-krb5 mailing list