From bc1efb60d633dba371ed918f28cc18790653cddc Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Tue, 9 Apr 1996 22:44:01 +0000 Subject: [PATCH] unused, but afs3 hook added for completeness git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7765 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin.old/server/adm_adm_func.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/kadmin.old/server/adm_adm_func.c b/src/kadmin.old/server/adm_adm_func.c index f497a136e..e3583c429 100644 --- a/src/kadmin.old/server/adm_adm_func.c +++ b/src/kadmin.old/server/adm_adm_func.c @@ -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) { -- 2.26.2