(do_v4_fallback): don't use krb_get_pw_in_tkt2 since it might not

exist, and we don't actually care about the key


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11184 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2002-08-21 12:21:31 +00:00
parent ce3e17ec51
commit 19ae5f062f

View File

@@ -190,9 +190,9 @@ do_v4_fallback (krb5_context context,
KRB_TICKET_GRANTING_TICKET, princ.realm,
lifetime, key_to_key, NULL, key);
} else {
ret = krb_get_pw_in_tkt2(princ.name, princ.instance, princ.realm,
KRB_TICKET_GRANTING_TICKET, princ.realm,
lifetime, passwd, &key);
ret = krb_get_pw_in_tkt(princ.name, princ.instance, princ.realm,
KRB_TICKET_GRANTING_TICKET, princ.realm,
lifetime, passwd);
}
memset (key, 0, sizeof(key));
if (ret) {