cyrus-sasl/cyrus-sasl-revert_gssapi_flags.patch
Andrey Karepin 0f4fa33b79 Accepting request 237223 from home:ckornacker:branches:network
Revert upstream commit 080e51c7fa0421eb2f0210d34cf0ac48a228b1e9
 cyrus-sasl-revert_gssapi_flags.patch (bnc#775279)

OBS-URL: https://build.opensuse.org/request/show/237223
OBS-URL: https://build.opensuse.org/package/show/network/cyrus-sasl?expand=0&rev=49
2014-06-15 15:02:49 +00:00

16 lines
639 B
Diff

--- a/plugins/gssapi.c
+++ b/plugins/gssapi.c
@@ -1583,10 +1583,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 */