From: Mark Eichin Date: Tue, 9 Apr 1996 22:44:01 +0000 (+0000) Subject: unused, but afs3 hook added for completeness X-Git-Tag: krb5-1.0-beta6~250 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bc1efb60d633dba371ed918f28cc18790653cddc;p=krb5.git unused, but afs3 hook added for completeness git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7765 dc483132-0cff-0310-8789-dd5450dbe970 --- 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) {