gss: use _gss_ntlm_set_keys() in gss_init_sec_context()

DRY: use the _gss_ntlm_set_keys() helper function to initialize the key state
for both initiator and acceptor.
This commit is contained in:
Luke Howard
2019-12-27 23:11:00 +11:00
parent c510e6d474
commit 920cfc5584
3 changed files with 10 additions and 20 deletions

View File

@@ -53,7 +53,6 @@ _gss_ntlm_set_sec_context_option(OM_uint32 *minor_status,
return GSS_S_NO_CONTEXT;
if (gss_oid_equal(object, GSS_C_NTLM_RESET_CRYPTO)) {
/* OM_uint32 verify = *((OM_uint32 *)value->value); */
_gss_ntlm_set_keys(ctx);
return GSS_S_COMPLETE;
} else