spelling
This commit is contained in:
@@ -346,14 +346,14 @@ _gss_ntlm_init_sec_context
|
|||||||
}
|
}
|
||||||
|
|
||||||
ret = heim_ntlm_calculate_ntlm2_sess(nonce,
|
ret = heim_ntlm_calculate_ntlm2_sess(nonce,
|
||||||
type2.challange,
|
type2.challenge,
|
||||||
ctx->client->key.data,
|
ctx->client->key.data,
|
||||||
&type3.lm,
|
&type3.lm,
|
||||||
&type3.ntlm);
|
&type3.ntlm);
|
||||||
} else {
|
} else {
|
||||||
ret = heim_ntlm_calculate_ntlm1(ctx->client->key.data,
|
ret = heim_ntlm_calculate_ntlm1(ctx->client->key.data,
|
||||||
ctx->client->key.length,
|
ctx->client->key.length,
|
||||||
type2.challange,
|
type2.challenge,
|
||||||
&type3.ntlm);
|
&type3.ntlm);
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -417,7 +417,7 @@ _gss_ntlm_init_sec_context
|
|||||||
ctx->client->key.length,
|
ctx->client->key.length,
|
||||||
ctx->client->username,
|
ctx->client->username,
|
||||||
name->domain,
|
name->domain,
|
||||||
type2.challange,
|
type2.challenge,
|
||||||
&type2.targetinfo,
|
&type2.targetinfo,
|
||||||
ntlmv2,
|
ntlmv2,
|
||||||
&type3.ntlm);
|
&type3.ntlm);
|
||||||
|
@@ -299,11 +299,11 @@ kdc_type2(OM_uint32 *minor_status,
|
|||||||
return GSS_S_FAILURE;
|
return GSS_S_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (challange.length != sizeof(type2.challange)) {
|
if (challange.length != sizeof(type2.challenge)) {
|
||||||
*minor_status = EINVAL;
|
*minor_status = EINVAL;
|
||||||
return GSS_S_FAILURE;
|
return GSS_S_FAILURE;
|
||||||
}
|
}
|
||||||
memcpy(type2.challange, challange.data, sizeof(type2.challange));
|
memcpy(type2.challenge, challange.data, sizeof(type2.challenge));
|
||||||
krb5_data_free(&challange);
|
krb5_data_free(&challange);
|
||||||
|
|
||||||
ret = krb5_ntlm_init_get_targetname(c->context, c->ntlm,
|
ret = krb5_ntlm_init_get_targetname(c->context, c->ntlm,
|
||||||
|
@@ -118,7 +118,7 @@ test_libntlm_v1(int flags)
|
|||||||
heim_ntlm_nt_key(password, &key);
|
heim_ntlm_nt_key(password, &key);
|
||||||
|
|
||||||
heim_ntlm_calculate_ntlm1(key.data, key.length,
|
heim_ntlm_calculate_ntlm1(key.data, key.length,
|
||||||
type2.challange,
|
type2.challenge,
|
||||||
&type3.ntlm);
|
&type3.ntlm);
|
||||||
|
|
||||||
if (flags & NTLM_NEG_KEYEX) {
|
if (flags & NTLM_NEG_KEYEX) {
|
||||||
@@ -245,7 +245,7 @@ test_libntlm_v2(int flags)
|
|||||||
heim_ntlm_calculate_ntlm2(key.data, key.length,
|
heim_ntlm_calculate_ntlm2(key.data, key.length,
|
||||||
user,
|
user,
|
||||||
type2.targetname,
|
type2.targetname,
|
||||||
type2.challange,
|
type2.challenge,
|
||||||
&type2.targetinfo,
|
&type2.targetinfo,
|
||||||
ntlmv2,
|
ntlmv2,
|
||||||
&type3.ntlm);
|
&type3.ntlm);
|
||||||
|
Reference in New Issue
Block a user