Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 409897
Collapse All | Expand All

(-)cyrus-sasl-2.1.26/plugins/gssapi.c (-2 / +2 lines)
Lines 1586-1595 Link Here
1586
	}
1586
	}
1587
1587
1588
	/* Setup req_flags properly */
1588
	/* Setup req_flags properly */
1589
	req_flags = GSS_C_INTEG_FLAG;
1589
	req_flags = GSS_C_MUTUAL_FLAG | GSS_C_SEQUENCE_FLAG;
1590
	if (params->props.max_ssf > params->external_ssf) {
1590
	if (params->props.max_ssf > params->external_ssf) {
1591
	    /* We are requesting a security layer */
1591
	    /* We are requesting a security layer */
1592
	    req_flags |= GSS_C_MUTUAL_FLAG | GSS_C_SEQUENCE_FLAG;
1592
	    req_flags |= GSS_C_INTEG_FLAG;
1593
	    /* Any SSF bigger than 1 is confidentiality. */
1593
	    /* Any SSF bigger than 1 is confidentiality. */
1594
	    /* Let's check if the client of the API requires confidentiality,
1594
	    /* Let's check if the client of the API requires confidentiality,
1595
	       and it wasn't already provided by an external layer */
1595
	       and it wasn't already provided by an external layer */

Return to bug 409897