This commit is contained in:
Love Hornquist Astrand
2010-10-27 21:09:41 -07:00
parent e0a1e0a806
commit 2eae1a1d30
3 changed files with 7 additions and 7 deletions

View File

@@ -299,11 +299,11 @@ kdc_type2(OM_uint32 *minor_status,
return GSS_S_FAILURE;
}
if (challange.length != sizeof(type2.challange)) {
if (challange.length != sizeof(type2.challenge)) {
*minor_status = EINVAL;
return GSS_S_FAILURE;
}
memcpy(type2.challange, challange.data, sizeof(type2.challange));
memcpy(type2.challenge, challange.data, sizeof(type2.challenge));
krb5_data_free(&challange);
ret = krb5_ntlm_init_get_targetname(c->context, c->ntlm,