unused, but afs3 hook added for completeness
authorMark Eichin <eichin@mit.edu>
Tue, 9 Apr 1996 22:44:01 +0000 (22:44 +0000)
committerMark Eichin <eichin@mit.edu>
Tue, 9 Apr 1996 22:44:01 +0000 (22:44 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7765 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin.old/server/adm_adm_func.c

index f497a136e073e361c9e9549f6ede6e8f09933f8b..e3583c429cf803e797b02a64dd524ccf46e71fa8 100644 (file)
@@ -629,6 +629,13 @@ adm_mod_old_key(context, auth_context, cmdname, customer_name)
                                       -1,
                                       &kdata))
                kdata->key_data_kvno = atoi(tempstr);
+           if (!krb5_dbe_find_enctype(context,
+                                      &entry,
+                                      ENCTYPE_DES_CBC_MD5,
+                                      KRB5_KDB_SALTTYPE_AFS3,
+                                      -1,
+                                      &kdata))
+               kdata->key_data_kvno = atoi(tempstr);
        }
        
        if (msg_data.data[3] == KMODATTR) {