(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:
Assar Westerlund
1999-11-04 01:57:17 +00:00
parent 477dea8523
commit 7d24f6e41b

View File

@@ -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,