Fix GSSAPI breakage by reverting revision 1.103 of plugins/gssapi.c (Closes: #628525)
Signed-off-by: Ondřej Surý <ondrej@sury.org>
Dan White authored 12 years ago
Ondřej Surý committed 12 years ago
0 | --- a/plugins/gssapi.c | |
1 | +++ b/plugins/gssapi.c | |
2 | @@ -1480,10 +1480,10 @@ static int gssapi_client_mech_step(void | |
3 | } | |
4 | ||
5 | /* Setup req_flags properly */ | |
6 | - req_flags = GSS_C_INTEG_FLAG; | |
7 | + req_flags = GSS_C_MUTUAL_FLAG | GSS_C_SEQUENCE_FLAG; | |
8 | if (params->props.max_ssf > params->external_ssf) { | |
9 | /* We are requesting a security layer */ | |
10 | - req_flags |= GSS_C_MUTUAL_FLAG | GSS_C_SEQUENCE_FLAG; | |
11 | + req_flags |= GSS_C_INTEG_FLAG; | |
12 | /* Any SSF bigger than 1 is confidentiality. */ | |
13 | /* Let's check if the client of the API requires confidentiality, | |
14 | and it wasn't already provided by an external layer */ |