use decode_EncAPRepPart directly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24054 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -82,13 +82,11 @@ krb5_rd_rep(krb5_context context,
|
|||||||
krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
|
krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
ret = krb5_decode_EncAPRepPart(context,
|
ret = decode_EncAPRepPart(data.data, data.length, *repl, &len);
|
||||||
data.data,
|
if (ret) {
|
||||||
data.length,
|
krb5_set_error_message(context, ret, N_("Failed to decode EncAPRepPart", ""));
|
||||||
*repl,
|
|
||||||
&len);
|
|
||||||
if (ret)
|
|
||||||
return ret;
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
if (auth_context->flags & KRB5_AUTH_CONTEXT_DO_TIME) {
|
if (auth_context->flags & KRB5_AUTH_CONTEXT_DO_TIME) {
|
||||||
if ((*repl)->ctime != auth_context->authenticator->ctime ||
|
if ((*repl)->ctime != auth_context->authenticator->ctime ||
|
||||||
|
Reference in New Issue
Block a user