Blame SOURCES/cyrus-sasl-2.1.26-revert-gssapi-flags.patch

bfd35c
--- cyrus-sasl2.orig/plugins/gssapi.c
bfd35c
+++ cyrus-sasl2/plugins/gssapi.c
bfd35c
@@ -1583,10 +1583,10 @@ static int gssapi_client_mech_step(void
bfd35c
 	}
bfd35c
 
bfd35c
 	/* Setup req_flags properly */
bfd35c
-	req_flags = GSS_C_INTEG_FLAG;
bfd35c
+	req_flags = GSS_C_MUTUAL_FLAG | GSS_C_SEQUENCE_FLAG;
bfd35c
 	if (params->props.max_ssf > params->external_ssf) {
bfd35c
 	    /* We are requesting a security layer */
bfd35c
-	    req_flags |= GSS_C_MUTUAL_FLAG | GSS_C_SEQUENCE_FLAG;
bfd35c
+	    req_flags |= GSS_C_INTEG_FLAG;
bfd35c
 	    /* Any SSF bigger than 1 is confidentiality. */
bfd35c
 	    /* Let's check if the client of the API requires confidentiality,
bfd35c
 	       and it wasn't already provided by an external layer */
bfd35c