don't limit enctype lists at init time
authorKen Raeburn <raeburn@mit.edu>
Sat, 13 Dec 2003 07:10:10 +0000 (07:10 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 13 Dec 2003 07:10:10 +0000 (07:10 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15912 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kadm5/clnt/ChangeLog
src/lib/kadm5/clnt/client_init.c

index 43b3528801ff96237d4fa1559f40e59679478aea..8978acf728b63cc3264810b3fee8e3c1ce780ec3 100644 (file)
@@ -1,3 +1,8 @@
+2003-12-13  Ken Raeburn  <raeburn@mit.edu>
+
+       * client_init.c (enctypes): Variable deleted.
+       (_kadm5_init_any): Pass a null pointer instead of enctypes.
+
 2003-01-10  Ken Raeburn  <raeburn@mit.edu>
 
        * Makefile.in: Add AC_SUBST_FILE marker for lib_frag and libobj_frag.
index 247af875c0ce04fbc3b2866f2eb600e5f880d8e7..cfe1381d9d33fff79869804a0a8683c62e62fc09 100644 (file)
@@ -129,14 +129,6 @@ static int preauth_search_list[] = {
      -1
 };
 
-static krb5_enctype enctypes[] = {
-    ENCTYPE_DES3_CBC_SHA1,
-    ENCTYPE_ARCFOUR_HMAC,
-    ENCTYPE_DES_CBC_MD5,
-    ENCTYPE_DES_CBC_CRC,
-    0,
-};
-
 static kadm5_ret_t _kadm5_init_any(char *client_name,
                                   enum init_type init_type,
                                   char *pass,
@@ -367,7 +359,7 @@ static kadm5_ret_t _kadm5_init_any(char *client_name,
               code = krb5_get_in_tkt_with_password(handle->context,
                                                    0, /* no options */
                                                    0, /* default addresses */
-                                                   enctypes,
+                                                   0,    /* enctypes */
                                                    NULL, /* XXX preauth */
                                                    pass,
                                                    ccache,
@@ -388,7 +380,7 @@ static kadm5_ret_t _kadm5_init_any(char *client_name,
                    code = krb5_get_in_tkt_with_keytab(handle->context,
                                                       0, /* no options */
                                                       0, /* default addrs */
-                                                      enctypes,
+                                                      0,    /* enctypes */
                                                       NULL, /* XXX preauth */
                                                       kt,
                                                       ccache,