(init_tgs_req): if subkey not avaible, use session key for authorization-data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13972 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -255,7 +255,8 @@ init_tgs_req (krb5_context context,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = set_auth_data (context, &t->req_body, &in_creds->authdata, key);
|
ret = set_auth_data (context, &t->req_body, &in_creds->authdata,
|
||||||
|
key ? key : &krbtgt->session);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
if (key)
|
if (key)
|
||||||
krb5_free_keyblock (context, key);
|
krb5_free_keyblock (context, key);
|
||||||
|
Reference in New Issue
Block a user