(get_des_key): fix thinkos/typos

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8482 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-06-29 03:58:13 +00:00
parent 179186f843
commit 21427e64d6

View File

@@ -123,10 +123,10 @@ get_des_key(hdb_entry *principal, krb5_boolean prefer_afs_key, Key **ret_key)
if(v5_key == NULL)
v5_key = key;
} else if(key->salt->type == hdb_pw_salt &&
key->salt->length == 0) {
key->salt->salt.length == 0) {
if(v4_key == NULL)
v4_key = key;
} else if(key->salt->salttype == hdb_afs3_salt) {
} else if(key->salt->type == hdb_afs3_salt) {
if(afs_key == NULL)
afs_key = key;
}