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 */ |