(init_tgs_req): use krb5_keytype_to_enctypes_default
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7302 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -174,10 +174,10 @@ init_tgs_req (krb5_context context,
|
|||||||
t->pvno = 5;
|
t->pvno = 5;
|
||||||
t->msg_type = krb_tgs_req;
|
t->msg_type = krb_tgs_req;
|
||||||
if (in_creds->session.keytype) {
|
if (in_creds->session.keytype) {
|
||||||
ret = krb5_keytype_to_enctypes (context,
|
ret = krb5_keytype_to_enctypes_default (context,
|
||||||
in_creds->session.keytype,
|
in_creds->session.keytype,
|
||||||
&t->req_body.etype.len,
|
&t->req_body.etype.len,
|
||||||
&t->req_body.etype.val);
|
&t->req_body.etype.val);
|
||||||
} else {
|
} else {
|
||||||
ret = krb5_init_etype(context,
|
ret = krb5_init_etype(context,
|
||||||
&t->req_body.etype.len,
|
&t->req_body.etype.len,
|
||||||
|
Reference in New Issue
Block a user