Refactor salt computation into libkdb5
authorGreg Hudson <ghudson@mit.edu>
Mon, 24 Oct 2011 15:09:32 +0000 (15:09 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 24 Oct 2011 15:09:32 +0000 (15:09 +0000)
commit7fc21c4a4a6ef8a88567f166eda1fe73784686c7
treec8767e5031b06fa2ccdef9fd5f6cfb8dd9c95fe4
parentd8b79bd61501341d9d8a4340c2c7077d302426c4
Refactor salt computation into libkdb5

Add a new API krb5_dbe_compute_salt() to determine the salt for a key
data entry, and use it in the three places we currently compute salts.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25410 dc483132-0cff-0310-8789-dd5450dbe970
src/include/kdb.h
src/kdc/kdc_preauth.c
src/kdc/kdc_util.c
src/kdc/kdc_util.h
src/lib/kadm5/srv/svr_principal.c
src/lib/kdb/kdb5.c
src/lib/kdb/libkdb5.exports