simply and support keyed checksums
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2254 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -22,10 +22,8 @@ krb5_mk_req_extended(krb5_context context,
|
|||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
(*auth_context)->key.keytype = in_creds->session.keytype;
|
copy_EncryptionKey(&in_creds->session,
|
||||||
krb5_data_copy (&(*auth_context)->key.keyvalue,
|
&(*auth_context)->key);
|
||||||
in_creds->session.keyvalue.data,
|
|
||||||
in_creds->session.keyvalue.length);
|
|
||||||
|
|
||||||
if (in_data) {
|
if (in_data) {
|
||||||
|
|
||||||
@@ -33,6 +31,7 @@ krb5_mk_req_extended(krb5_context context,
|
|||||||
(*auth_context)->cksumtype,
|
(*auth_context)->cksumtype,
|
||||||
in_data->data,
|
in_data->data,
|
||||||
in_data->length,
|
in_data->length,
|
||||||
|
&(*auth_context)->key,
|
||||||
&c);
|
&c);
|
||||||
c_opt = &c;
|
c_opt = &c;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user