Skip to content

Commit

Permalink
gssapi.c: Revert commit 080e51c (Updated the list of GSS-API flags pa…
Browse files Browse the repository at this point in the history
…ssed to gss_init_sec_context()) - Issue #419
  • Loading branch information
ksmurchison committed May 10, 2018
1 parent b6767cc commit e41cfb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/gssapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1759,10 +1759,10 @@ static int gssapi_client_mech_step(void *conn_context,
}

/* Setup req_flags properly */
req_flags = GSS_C_INTEG_FLAG;
req_flags = GSS_C_MUTUAL_FLAG | GSS_C_SEQUENCE_FLAG;
if (params->props.max_ssf > params->external_ssf) {
/* We are requesting a security layer */
req_flags |= GSS_C_MUTUAL_FLAG | GSS_C_SEQUENCE_FLAG;
req_flags |= GSS_C_INTEG_FLAG;
/* Any SSF bigger than 1 is confidentiality. */
/* Let's check if the client of the API requires confidentiality,
and it wasn't already provided by an external layer */
Expand Down

0 comments on commit e41cfb9

Please sign in to comment.